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.001029/0.001029, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.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.352/2.352, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.000364, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.677, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1749/0.852, allocations: 158.1 MB / 1.11 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.857, allocations: 2.935 MB / 1.113 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006959/0.8578, allocations: 11.94 kB / 1.113 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.8586, allocations: 171.1 kB / 1.113 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.8609, allocations: 0.7271 MB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.8619, allocations: 315.4 kB / 1.114 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.8636, allocations: 1.228 MB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.8641, allocations: 206.2 kB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.8648, allocations: 286.6 kB / 1.116 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.8658, allocations: 280.2 kB / 1.116 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.8659, allocations: 12 kB / 1.116 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.8675, allocations: 0.7403 MB / 1.117 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.8677, allocations: 107.5 kB / 1.117 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.8681, allocations: 208.8 kB / 1.117 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000861/0.8689, allocations: 0.5533 MB / 1.118 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8689, allocations: 0 / 1.118 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.855e-06/0.8689, allocations: 4 kB / 1.118 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.869, allocations: 4 kB / 1.118 GB, free: 8.902 MB / 0.8731 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.001212/0.8702, allocations: 0.6349 MB / 1.118 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.8702, allocations: 8.031 kB / 1.118 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.8714, allocations: 139.3 kB / 1.118 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.8721, allocations: 414.2 kB / 1.119 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.8721, allocations: 16.56 kB / 1.119 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.8722, allocations: 27.94 kB / 1.119 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.8726, allocations: 283.6 kB / 1.119 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.8727, allocations: 0 / 1.119 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.8727, allocations: 12 kB / 1.119 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.8727, allocations: 8.562 kB / 1.119 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.8731, allocations: 194.1 kB / 1.119 GB, free: 7.086 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.001903/0.875, allocations: 1.326 MB / 1.121 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.8754, allocations: 193 kB / 1.121 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.8756, allocations: 93.86 kB / 1.121 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.8756, allocations: 4 kB / 1.121 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.8756, allocations: 34.56 kB / 1.121 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.8756, allocations: 0 / 1.121 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0009769/0.8766, allocations: 401.3 kB / 1.121 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.8767, allocations: 55.41 kB / 1.121 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.877, allocations: 300.5 kB / 1.122 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.8771, allocations: 29.7 kB / 1.122 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.8772, allocations: 196 kB / 1.122 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.8773, allocations: 70.94 kB / 1.122 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.8774, allocations: 29.7 kB / 1.122 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8775, allocations: 342.8 kB / 1.122 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.8776, allocations: 59.97 kB / 1.122 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.8778, allocations: 119.9 kB / 1.122 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.8781, allocations: 199.4 kB / 1.123 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8781, allocations: 0 / 1.123 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003886/0.8785, allocations: 249.2 kB / 1.123 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8785, allocations: 7.938 kB / 1.123 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.8785, allocations: 4 kB / 1.123 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.8785, allocations: 0 / 1.123 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.8787, allocations: 43.92 kB / 1.123 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8787, allocations: 7.938 kB / 1.123 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.8791, allocations: 23.83 kB / 1.123 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.8791, allocations: 8 kB / 1.123 GB, free: 3.062 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.0001727/0.8793, allocations: 165.8 kB / 1.123 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.8793, allocations: 35.56 kB / 1.123 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.8794, allocations: 35.08 kB / 1.123 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8794, allocations: 0 / 1.123 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8795, allocations: 4 kB / 1.123 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8795, allocations: 3.938 kB / 1.123 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.88, allocations: 413.2 kB / 1.124 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.88, allocations: 0 / 1.124 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.8802, allocations: 27.98 kB / 1.124 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.8804, allocations: 52.77 kB / 1.124 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8805, allocations: 0 / 1.124 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.8817, allocations: 1.409 MB / 1.125 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8817, allocations: 0 / 1.125 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.8822, allocations: 402.1 kB / 1.125 GB, free: 332 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.8824, allocations: 124.7 kB / 1.126 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.8825, allocations: 11.98 kB / 1.126 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.8827, allocations: 8.062 kB / 1.126 GB, free: 168 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.8828, allocations: 23.88 kB / 1.126 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.8828, allocations: 4 kB / 1.126 GB, free: 140 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002408/0.883, allocations: 219 kB / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8831, allocations: 0 / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000437/0.8835, allocations: 107.8 kB / 1.126 GB, free: 15.82 MB / 0.8887 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.0001954/0.8837, allocations: 111.2 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.884, allocations: 161.7 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.884, allocations: 8.062 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.8844, allocations: 194.6 kB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.8854, allocations: 186.9 kB / 1.127 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8868, allocations: 0.9583 MB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.8872, allocations: 0.8 MB / 1.128 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.8873, allocations: 27.44 kB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.8873, allocations: 4 kB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.009148/0.8964, allocations: 5.677 MB / 1.134 GB, free: 7.676 MB / 0.8887 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 -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