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.001727/0.001727, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00196/0.00196, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.719/2.719, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6488, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1848/0.8337, allocations: 160.2 MB / 1.173 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004704/0.8385, allocations: 2.96 MB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.839, allocations: 15.88 kB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.8397, allocations: 179 kB / 1.176 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.8416, allocations: 0.7276 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.8424, allocations: 299.4 kB / 1.177 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.8439, allocations: 1.235 MB / 1.178 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.8443, allocations: 218.1 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004863/0.8448, allocations: 294.6 kB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.8456, allocations: 286.8 kB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.927e-05/0.8456, allocations: 16 kB / 1.179 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.847, allocations: 0.748 MB / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.8472, allocations: 107.7 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.8474, allocations: 202.9 kB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.8485, allocations: 0.7673 MB / 1.181 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8485, allocations: 7.938 kB / 1.181 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.72e-07/0.8485, allocations: 0 / 1.181 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.8485, allocations: 0 / 1.181 GB, free: 9.949 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.001321/0.8498, allocations: 0.7089 MB / 1.182 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8499, allocations: 12.03 kB / 1.182 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.851, allocations: 139.3 kB / 1.182 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.8516, allocations: 398.3 kB / 1.182 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.8516, allocations: 24.56 kB / 1.182 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.8517, allocations: 24 kB / 1.182 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.8522, allocations: 275.6 kB / 1.182 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.8522, allocations: 4 kB / 1.182 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.8523, allocations: 8 kB / 1.182 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.8523, allocations: 8.562 kB / 1.182 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.8527, allocations: 194.1 kB / 1.183 GB, free: 8.074 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.001855/0.8545, allocations: 1.33 MB / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.8549, allocations: 190.9 kB / 1.184 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.8551, allocations: 88.83 kB / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.8551, allocations: 0 / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.8552, allocations: 38.56 kB / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 3.337e-06/0.8552, allocations: 0 / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001006/0.8562, allocations: 405.2 kB / 1.185 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.8562, allocations: 55.41 kB / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.8566, allocations: 296.6 kB / 1.185 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.8566, allocations: 33.7 kB / 1.185 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.8568, allocations: 192 kB / 1.185 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.8569, allocations: 78.92 kB / 1.185 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.857, allocations: 45.7 kB / 1.185 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8571, allocations: 342.8 kB / 1.186 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.8573, allocations: 63.97 kB / 1.186 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.8574, allocations: 111.7 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.8577, allocations: 199.4 kB / 1.186 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8577, allocations: 0 / 1.186 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003894/0.8581, allocations: 254.6 kB / 1.186 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8581, allocations: 11.94 kB / 1.186 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8581, allocations: 3.984 kB / 1.186 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.8582, allocations: 4 kB / 1.186 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.8584, allocations: 43.92 kB / 1.186 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.8584, allocations: 0 / 1.186 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.8587, allocations: 28.03 kB / 1.186 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.8587, allocations: 15.92 kB / 1.186 GB, free: 4.016 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.0001782/0.8589, allocations: 162.3 kB / 1.186 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.859, allocations: 35.56 kB / 1.186 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.8591, allocations: 35.08 kB / 1.187 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8591, allocations: 4 kB / 1.187 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8591, allocations: 3.984 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8591, allocations: 0 / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.8597, allocations: 405.2 kB / 1.187 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8597, allocations: 4 kB / 1.187 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.8599, allocations: 31.98 kB / 1.187 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.8601, allocations: 44.77 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.8601, allocations: 7.984 kB / 1.187 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.8614, allocations: 1.409 MB / 1.188 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8615, allocations: 0 / 1.188 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.8621, allocations: 399.8 kB / 1.189 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.8622, allocations: 128.8 kB / 1.189 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.8623, allocations: 8 kB / 1.189 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.8626, allocations: 9.969 kB / 1.189 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.8626, allocations: 23.91 kB / 1.189 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.8626, allocations: 4 kB / 1.189 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002342/0.8629, allocations: 215.1 kB / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8629, allocations: 0 / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004323/0.8633, allocations: 103.8 kB / 1.189 GB, free: 0.7852 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.0001854/0.8635, allocations: 125.7 kB / 1.189 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.8638, allocations: 167.8 kB / 1.189 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.8639, allocations: 0 / 1.189 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.8642, allocations: 198.6 kB / 1.19 GB, free: 288 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.8652, allocations: 193 kB / 1.19 GB, free: 100 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8666, allocations: 0.8527 MB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.8671, allocations: 0.7923 MB / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002566/0.8673, allocations: 59.23 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.8674, allocations: 27.44 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.8674, allocations: 0 / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.01163/0.8791, allocations: 5.829 MB / 1.197 GB, free: 8.602 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