Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001909/0.001909, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002057/0.002057, allocations: 192.2 kB / 16.25 MB, free: 6.621 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.874/2.874, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6533/0.6552, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1901/0.8453, allocations: 160.2 MB / 1.173 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.8501, allocations: 2.894 MB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.8505, allocations: 11.94 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.8512, allocations: 183.1 kB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.853, allocations: 0.7275 MB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.8537, allocations: 311.4 kB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.8549, allocations: 0.935 MB / 1.178 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.8553, allocations: 254.3 kB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.8558, allocations: 342.6 kB / 1.179 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008916/0.8568, allocations: 301 kB / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.8568, allocations: 32 kB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.858, allocations: 0.678 MB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.8582, allocations: 131.6 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.8584, allocations: 215 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.8595, allocations: 0.7791 MB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8595, allocations: 7.938 kB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8595, allocations: 0 / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.8595, allocations: 4 kB / 1.181 GB, free: 10.13 MB / 0.9356 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.001151/0.8607, allocations: 0.7126 MB / 1.182 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8607, allocations: 8.031 kB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.8618, allocations: 143.3 kB / 1.182 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.8624, allocations: 402.4 kB / 1.182 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.8624, allocations: 16.56 kB / 1.182 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.8625, allocations: 27.91 kB / 1.182 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.863, allocations: 279.7 kB / 1.182 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.863, allocations: 7.875 kB / 1.182 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.863, allocations: 12 kB / 1.182 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.8631, allocations: 12.55 kB / 1.182 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.8634, allocations: 194.1 kB / 1.183 GB, free: 8.238 MB / 0.9356 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.001826/0.8653, allocations: 1.322 MB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.8657, allocations: 194.8 kB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.8658, allocations: 92.83 kB / 1.184 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.8659, allocations: 4 kB / 1.184 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.8659, allocations: 38.55 kB / 1.184 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.8659, allocations: 0 / 1.184 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.00101/0.8669, allocations: 406.6 kB / 1.185 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.867, allocations: 51.41 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.8673, allocations: 300.6 kB / 1.185 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.8674, allocations: 29.7 kB / 1.185 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.8675, allocations: 196 kB / 1.185 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.8676, allocations: 74.94 kB / 1.185 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.8677, allocations: 45.7 kB / 1.185 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8679, allocations: 338.8 kB / 1.186 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.868, allocations: 63.97 kB / 1.186 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.8681, allocations: 123.6 kB / 1.186 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.8684, allocations: 185.9 kB / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8684, allocations: 4 kB / 1.186 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003914/0.8688, allocations: 247 kB / 1.186 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8689, allocations: 11.97 kB / 1.186 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8689, allocations: 4 kB / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8689, allocations: 0 / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.8691, allocations: 47.92 kB / 1.186 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.8691, allocations: 4 kB / 1.186 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.8694, allocations: 31.7 kB / 1.186 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.8694, allocations: 8 kB / 1.186 GB, free: 4.184 MB / 0.9356 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.0001652/0.8696, allocations: 158.4 kB / 1.186 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.8697, allocations: 35.56 kB / 1.186 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.8698, allocations: 39.08 kB / 1.186 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8698, allocations: 0 / 1.186 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.8698, allocations: 3.984 kB / 1.186 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.8698, allocations: 4 kB / 1.186 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.8704, allocations: 409.2 kB / 1.187 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8704, allocations: 3.938 kB / 1.187 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.8706, allocations: 27.98 kB / 1.187 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.8708, allocations: 48.77 kB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.8708, allocations: 4 kB / 1.187 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.8723, allocations: 1.515 MB / 1.188 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8723, allocations: 0 / 1.188 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.8729, allocations: 404.4 kB / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.8731, allocations: 132.7 kB / 1.189 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.8731, allocations: 7.938 kB / 1.189 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.8734, allocations: 15.91 kB / 1.189 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.8735, allocations: 7.984 kB / 1.189 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.8735, allocations: 11.98 kB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000237/0.8737, allocations: 219.1 kB / 1.189 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8737, allocations: 0 / 1.189 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004316/0.8742, allocations: 103.8 kB / 1.189 GB, free: 0.8359 MB / 0.9356 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.0001928/0.8744, allocations: 115.4 kB / 1.189 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.8747, allocations: 179.8 kB / 1.19 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8747, allocations: 0 / 1.19 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.8751, allocations: 204.7 kB / 1.19 GB, free: 332 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8761, allocations: 190.7 kB / 1.19 GB, free: 148 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.8775, allocations: 0.8564 MB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.8779, allocations: 0.796 MB / 1.192 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000273/0.8782, allocations: 55.25 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.8783, allocations: 31.38 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.8783, allocations: 0 / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of Templates: time 0.01237/0.8907, allocations: 6.072 MB / 1.198 GB, free: 8.402 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches