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.004874/0.004874, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001167/0.001168, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.332/2.332, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6562, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1801/0.8363, allocations: 160.1 MB / 1.106 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005044/0.8414, allocations: 2.964 MB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.8421, allocations: 15.94 kB / 1.109 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.8429, allocations: 175.1 kB / 1.109 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.8451, allocations: 0.7236 MB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.846, allocations: 311 kB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.8475, allocations: 1.231 MB / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.848, allocations: 222.1 kB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.8486, allocations: 290.6 kB / 1.112 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009246/0.8495, allocations: 289.1 kB / 1.112 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.8496, allocations: 12 kB / 1.112 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.8509, allocations: 0.7519 MB / 1.113 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.8511, allocations: 107.7 kB / 1.113 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.8514, allocations: 199 kB / 1.113 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.8521, allocations: 0.5613 MB / 1.114 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8521, allocations: 0 / 1.114 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8521, allocations: 0 / 1.114 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.8522, allocations: 0 / 1.114 GB, free: 9.539 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.001173/0.8533, allocations: 0.7165 MB / 1.114 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8534, allocations: 12.03 kB / 1.114 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.8544, allocations: 135.4 kB / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.855, allocations: 398.4 kB / 1.115 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.855, allocations: 24.56 kB / 1.115 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.8551, allocations: 24 kB / 1.115 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.8555, allocations: 271.7 kB / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.8555, allocations: 7.906 kB / 1.115 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.8556, allocations: 8 kB / 1.115 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.8556, allocations: 8.562 kB / 1.115 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.856, allocations: 198.1 kB / 1.115 GB, free: 7.656 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.00178/0.8577, allocations: 1.323 MB / 1.117 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.8582, allocations: 190.9 kB / 1.117 GB, free: 6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.8583, allocations: 94.48 kB / 1.117 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.8583, allocations: 3.938 kB / 1.117 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.8584, allocations: 38.56 kB / 1.117 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.8584, allocations: 0 / 1.117 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0009355/0.8593, allocations: 403.3 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.8594, allocations: 55.41 kB / 1.117 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.8597, allocations: 300.5 kB / 1.118 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.8597, allocations: 33.7 kB / 1.118 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.8599, allocations: 192 kB / 1.118 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.8599, allocations: 78.92 kB / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.86, allocations: 41.72 kB / 1.118 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8602, allocations: 342.8 kB / 1.118 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.8603, allocations: 63.97 kB / 1.118 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.8604, allocations: 115.9 kB / 1.118 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.8607, allocations: 203.9 kB / 1.119 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8607, allocations: 0 / 1.119 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003788/0.8611, allocations: 247 kB / 1.119 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.8611, allocations: 11.94 kB / 1.119 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8611, allocations: 0 / 1.119 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8612, allocations: 4 kB / 1.119 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.8614, allocations: 47.91 kB / 1.119 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.8614, allocations: 0 / 1.119 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.8617, allocations: 28.03 kB / 1.119 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.8617, allocations: 8 kB / 1.119 GB, free: 3.605 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.0001746/0.8619, allocations: 161.8 kB / 1.119 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.8619, allocations: 35.56 kB / 1.119 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.862, allocations: 35.08 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.862, allocations: 4 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.862, allocations: 0 / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.862, allocations: 7.969 kB / 1.119 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.8626, allocations: 405.2 kB / 1.12 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8626, allocations: 4 kB / 1.12 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.8628, allocations: 35.92 kB / 1.12 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.863, allocations: 44.77 kB / 1.12 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.863, allocations: 4 kB / 1.12 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.8642, allocations: 1.401 MB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8643, allocations: 0 / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.8649, allocations: 397.2 kB / 1.121 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.865, allocations: 136.7 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.8651, allocations: 8 kB / 1.122 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.8653, allocations: 7.906 kB / 1.122 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.8654, allocations: 31.8 kB / 1.122 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.8654, allocations: 4 kB / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002207/0.8656, allocations: 219 kB / 1.122 GB, free: 472 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8657, allocations: 0 / 1.122 GB, free: 472 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004379/0.8661, allocations: 103.8 kB / 1.122 GB, free: 368 kB / 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.0001858/0.8663, allocations: 119.5 kB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.8666, allocations: 165.9 kB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8666, allocations: 4 kB / 1.122 GB, free: 72 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.867, allocations: 194.6 kB / 1.122 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.8679, allocations: 188.8 kB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.8694, allocations: 0.8838 MB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.8698, allocations: 0.8001 MB / 1.124 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.8699, allocations: 27.44 kB / 1.124 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.8699, allocations: 3.938 kB / 1.124 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of Templates: time 0.00988/0.8798, allocations: 5.713 MB / 1.13 GB, free: 8.25 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