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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007336/0.007336, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.0017/0.0017, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 58.22 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1651/0.43, allocations: 162.4 MB / 1.246 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.4341, allocations: 2.913 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.4345, allocations: 19.88 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.4351, allocations: 206.8 kB / 1.25 GB, free: 11.35 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.4368, allocations: 0.8089 MB / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.4375, allocations: 341.6 kB / 1.251 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.4386, allocations: 0.9468 MB / 1.252 GB, free: 9.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.4389, allocations: 260.2 kB / 1.252 GB, free: 8.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.4394, allocations: 346.6 kB / 1.252 GB, free: 8.656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.4401, allocations: 286.2 kB / 1.252 GB, free: 8.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.4402, allocations: 36 kB / 1.252 GB, free: 8.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009846/0.4412, allocations: 0.6469 MB / 1.253 GB, free: 7.695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.4413, allocations: 131.6 kB / 1.253 GB, free: 7.566 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.4415, allocations: 215 kB / 1.253 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009592/0.4425, allocations: 0.7514 MB / 1.254 GB, free: 6.602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4425, allocations: 0 / 1.254 GB, free: 6.602 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.234e-05/0.4425, allocations: 4 kB / 1.254 GB, free: 6.598 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4425, allocations: 0 / 1.254 GB, free: 6.598 MB / 1.014 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.00106/0.4436, allocations: 0.7277 MB / 1.255 GB, free: 5.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.4436, allocations: 8.031 kB / 1.255 GB, free: 5.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.4447, allocations: 139.6 kB / 1.255 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.4454, allocations: 430.5 kB / 1.255 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4454, allocations: 16.56 kB / 1.255 GB, free: 5.195 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.4454, allocations: 24 kB / 1.255 GB, free: 5.172 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.4459, allocations: 279.7 kB / 1.256 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4459, allocations: 0 / 1.256 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.4459, allocations: 12 kB / 1.256 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.446, allocations: 8.562 kB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.4463, allocations: 198.1 kB / 1.256 GB, free: 4.672 MB / 1.014 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.001653/0.448, allocations: 1.323 MB / 1.257 GB, free: 3.207 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.4484, allocations: 198.8 kB / 1.257 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.4485, allocations: 88.83 kB / 1.258 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4485, allocations: 0 / 1.258 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4486, allocations: 38.91 kB / 1.258 GB, free: 2.867 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.4486, allocations: 0 / 1.258 GB, free: 2.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0009228/0.4495, allocations: 400.7 kB / 1.258 GB, free: 2.449 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4496, allocations: 63.34 kB / 1.258 GB, free: 2.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.4499, allocations: 296.6 kB / 1.258 GB, free: 2.078 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.4499, allocations: 33.7 kB / 1.258 GB, free: 2.039 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.45, allocations: 196.3 kB / 1.258 GB, free: 1.844 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.4501, allocations: 79.3 kB / 1.259 GB, free: 1.766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.4502, allocations: 41.72 kB / 1.259 GB, free: 1.719 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4503, allocations: 342.8 kB / 1.259 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4504, allocations: 63.97 kB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4505, allocations: 109.9 kB / 1.259 GB, free: 1.184 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.4508, allocations: 199.9 kB / 1.259 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4508, allocations: 0 / 1.259 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003499/0.4512, allocations: 253.3 kB / 1.26 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4512, allocations: 11.94 kB / 1.26 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4512, allocations: 0 / 1.26 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4512, allocations: 4 kB / 1.26 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4514, allocations: 47.91 kB / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4514, allocations: 0 / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.4517, allocations: 19.89 kB / 1.26 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.4517, allocations: 4.188 kB / 1.26 GB, free: 0.6289 MB / 1.014 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.0001526/0.4519, allocations: 165.8 kB / 1.26 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.452, allocations: 35.75 kB / 1.26 GB, free: 432 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.074e-05/0.452, allocations: 35.08 kB / 1.26 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4521, allocations: 4 kB / 1.26 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4521, allocations: 3.938 kB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4521, allocations: 0 / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6177/1.07, allocations: 404.8 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/1.07, allocations: 0.5625 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/1.07, allocations: 36.94 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/1.07, allocations: 45.08 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.07, allocations: 5.609 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/1.072, allocations: 1.507 MB / 1.262 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.072, allocations: 8.969 kB / 1.262 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/1.072, allocations: 398.5 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/1.072, allocations: 126.6 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/1.072, allocations: 8.656 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.073, allocations: 9.719 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/1.073, allocations: 18.84 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/1.073, allocations: 10.06 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002525/1.073, allocations: 217.1 kB / 1.263 GB, free: 174.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.8e-07/1.073, allocations: 0 / 1.263 GB, free: 174.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000462/1.073, allocations: 104.6 kB / 1.263 GB, free: 174.4 MB / 1.014 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.0001872/1.074, allocations: 118.6 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003319/1.074, allocations: 166 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.074, allocations: 1.062 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/1.074, allocations: 197.1 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/1.075, allocations: 199.4 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.077, allocations: 0.7372 MB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.077, allocations: 0.7986 MB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002818/1.077, allocations: 59.73 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/1.077, allocations: 27.19 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.077, allocations: 0 / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of Templates: time 0.01731/1.095, allocations: 6.157 MB / 1.271 GB, free: 172.8 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches