Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002249, allocations: 65.73 kB / 0.814 GB, free: 32.81 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3022, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5888/0.891, allocations: 162.4 MB / 1.11 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.8955, allocations: 2.917 MB / 1.113 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.8963, allocations: 15.44 kB / 1.113 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.8973, allocations: 209.5 kB / 1.113 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.8996, allocations: 0.7716 MB / 1.114 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.9006, allocations: 337.9 kB / 1.114 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.9022, allocations: 0.9427 MB / 1.115 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.9027, allocations: 262.5 kB / 1.115 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.9035, allocations: 339.8 kB / 1.115 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.9045, allocations: 283.6 kB / 1.116 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.9046, allocations: 35.28 kB / 1.116 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.906, allocations: 0.6398 MB / 1.116 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.9063, allocations: 135.2 kB / 1.116 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.9066, allocations: 210.8 kB / 1.117 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.908, allocations: 0.7572 MB / 1.117 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.908, allocations: 1.203 kB / 1.117 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.908, allocations: 0 / 1.117 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.908, allocations: 1.312 kB / 1.117 GB, free: 5.648 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00134/0.9094, allocations: 0.7104 MB / 1.118 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9094, allocations: 13.53 kB / 1.118 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.9105, allocations: 139.7 kB / 1.118 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.9111, allocations: 417.9 kB / 1.119 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.9112, allocations: 17.14 kB / 1.119 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.9112, allocations: 27.94 kB / 1.119 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.9117, allocations: 273.5 kB / 1.119 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.9117, allocations: 8.703 kB / 1.119 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.9117, allocations: 12.84 kB / 1.119 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.9118, allocations: 9.938 kB / 1.119 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.9121, allocations: 198.8 kB / 1.119 GB, free: 20.8 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.9138, allocations: 1.312 MB / 1.12 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.9142, allocations: 196.6 kB / 1.121 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.9143, allocations: 87.02 kB / 1.121 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.9144, allocations: 5.031 kB / 1.121 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.9144, allocations: 39.62 kB / 1.121 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.472e-06/0.9144, allocations: 2.484 kB / 1.121 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008963/0.9153, allocations: 402.6 kB / 1.121 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.9154, allocations: 53.53 kB / 1.121 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.9157, allocations: 299.5 kB / 1.121 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.9157, allocations: 30.2 kB / 1.121 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.9158, allocations: 195.8 kB / 1.122 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.9159, allocations: 74.81 kB / 1.122 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.916, allocations: 46.88 kB / 1.122 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9161, allocations: 340 kB / 1.122 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.9162, allocations: 63.05 kB / 1.122 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.9163, allocations: 119 kB / 1.122 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.9166, allocations: 195.7 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9166, allocations: 1.188 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003451/0.9169, allocations: 250.4 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.917, allocations: 13.47 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.917, allocations: 1.875 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.917, allocations: 2.688 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.9172, allocations: 46.38 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9172, allocations: 6.562 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.9175, allocations: 14.78 kB / 1.123 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.9175, allocations: 8.719 kB / 1.123 GB, free: 18.85 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.9177, allocations: 163.3 kB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.9178, allocations: 35.14 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.9178, allocations: 36.94 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.9179, allocations: 3.031 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9179, allocations: 1.25 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9179, allocations: 1.312 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.9184, allocations: 406.2 kB / 1.123 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9184, allocations: 0 / 1.123 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.9186, allocations: 36.41 kB / 1.123 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.9188, allocations: 47.16 kB / 1.123 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.9188, allocations: 5.438 kB / 1.123 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.92, allocations: 1.512 MB / 1.125 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.92, allocations: 0 / 1.125 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.9206, allocations: 395.1 kB / 1.125 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9207, allocations: 131.5 kB / 1.125 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.9208, allocations: 16.98 kB / 1.125 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.921, allocations: 7.969 kB / 1.125 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.9211, allocations: 16.81 kB / 1.125 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.9211, allocations: 9.891 kB / 1.125 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002177/0.9213, allocations: 214.9 kB / 1.126 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9213, allocations: 0 / 1.126 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004234/0.9217, allocations: 107.4 kB / 1.126 GB, free: 16.77 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.9219, allocations: 114 kB / 1.126 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.9223, allocations: 162.9 kB / 1.126 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9223, allocations: 1.078 kB / 1.126 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.9226, allocations: 202.8 kB / 1.126 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.9235, allocations: 194.6 kB / 1.126 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.9246, allocations: 0.7306 MB / 1.127 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.925, allocations: 0.7995 MB / 1.128 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000239/0.9252, allocations: 61.11 kB / 1.128 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.9253, allocations: 26.56 kB / 1.128 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9253, allocations: 0 / 1.128 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of Templates: time 0.01061/0.9359, allocations: 6.098 MB / 1.134 GB, free: 15.05 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches