Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 69.97 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1887/0.5491, allocations: 143.1 MB / 1.504 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.5541, allocations: 2.742 MB / 1.507 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005507/0.5547, allocations: 19.88 kB / 1.507 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.5555, allocations: 202.8 kB / 1.507 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.5576, allocations: 0.8089 MB / 1.508 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.5585, allocations: 353.4 kB / 1.508 GB, free: 9.758 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.5598, allocations: 0.9586 MB / 1.509 GB, free: 8.797 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.5601, allocations: 210.5 kB / 1.51 GB, free: 8.59 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006617/0.5608, allocations: 394.6 kB / 1.51 GB, free: 8.203 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.5617, allocations: 301.1 kB / 1.51 GB, free: 7.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.5617, allocations: 32 kB / 1.51 GB, free: 7.879 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009902/0.5627, allocations: 0.5259 MB / 1.511 GB, free: 7.352 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.5629, allocations: 135.6 kB / 1.511 GB, free: 7.219 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.5631, allocations: 179.2 kB / 1.511 GB, free: 7.043 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.5641, allocations: 0.7397 MB / 1.512 GB, free: 6.301 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5641, allocations: 0 / 1.512 GB, free: 6.301 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5641, allocations: 0 / 1.512 GB, free: 6.301 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5642, allocations: 0 / 1.512 GB, free: 6.301 MB / 1.201 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.001164/0.5653, allocations: 0.6523 MB / 1.512 GB, free: 5.617 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.5654, allocations: 12.03 kB / 1.512 GB, free: 5.605 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.5664, allocations: 135.7 kB / 1.513 GB, free: 5.473 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.5671, allocations: 364 kB / 1.513 GB, free: 5.09 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.5671, allocations: 28.48 kB / 1.513 GB, free: 5.062 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.5671, allocations: 27.95 kB / 1.513 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.5677, allocations: 381.5 kB / 1.513 GB, free: 4.629 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5677, allocations: 4 kB / 1.513 GB, free: 4.625 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.5677, allocations: 8 kB / 1.513 GB, free: 4.617 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.5677, allocations: 8.5 kB / 1.513 GB, free: 4.605 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.5681, allocations: 197.8 kB / 1.513 GB, free: 4.41 MB / 1.201 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.001551/0.5697, allocations: 0.7926 MB / 1.514 GB, free: 3.582 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.5701, allocations: 188.1 kB / 1.514 GB, free: 3.391 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.5702, allocations: 84.83 kB / 1.515 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.5702, allocations: 0 / 1.515 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5702, allocations: 38.56 kB / 1.515 GB, free: 3.258 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.5703, allocations: 4 kB / 1.515 GB, free: 3.254 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.0009148/0.5712, allocations: 324.1 kB / 1.515 GB, free: 2.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5712, allocations: 55.41 kB / 1.515 GB, free: 2.863 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.5715, allocations: 284.6 kB / 1.515 GB, free: 2.574 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.5716, allocations: 33.7 kB / 1.515 GB, free: 2.535 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.5717, allocations: 204.6 kB / 1.515 GB, free: 2.332 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.5718, allocations: 71.42 kB / 1.515 GB, free: 2.262 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.5719, allocations: 45.66 kB / 1.516 GB, free: 2.211 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.572, allocations: 338.8 kB / 1.516 GB, free: 1.871 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.5721, allocations: 63.97 kB / 1.516 GB, free: 1.809 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.5723, allocations: 121.9 kB / 1.516 GB, free: 1.668 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.5726, allocations: 195.9 kB / 1.516 GB, free: 1.457 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5726, allocations: 0 / 1.516 GB, free: 1.457 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003726/0.5729, allocations: 245.3 kB / 1.516 GB, free: 1.211 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.573, allocations: 4 kB / 1.516 GB, free: 1.207 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.573, allocations: 7.938 kB / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.573, allocations: 0 / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5732, allocations: 47.92 kB / 1.517 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5732, allocations: 12.12 kB / 1.517 GB, free: 1.141 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.5735, allocations: 11.89 kB / 1.517 GB, free: 1.129 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.5735, allocations: 12 kB / 1.517 GB, free: 1.117 MB / 1.201 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.0001692/0.5736, allocations: 161.7 kB / 1.517 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.5737, allocations: 35.8 kB / 1.517 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-05/0.5738, allocations: 38.25 kB / 1.517 GB, free: 0.875 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5738, allocations: 7.969 kB / 1.517 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5738, allocations: 4 kB / 1.517 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5738, allocations: 0 / 1.517 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.5743, allocations: 277.1 kB / 1.517 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5743, allocations: 4 kB / 1.517 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5745, allocations: 39.92 kB / 1.517 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.5747, allocations: 36.83 kB / 1.517 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.5747, allocations: 8 kB / 1.517 GB, free: 484 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.576, allocations: 1.381 MB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.576, allocations: 64 / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.5765, allocations: 402.6 kB / 1.519 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.5767, allocations: 51.72 kB / 1.519 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.5767, allocations: 8 kB / 1.519 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.577, allocations: 7.984 kB / 1.519 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.577, allocations: 19.86 kB / 1.519 GB, free: 14.49 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.577, allocations: 12.22 kB / 1.519 GB, free: 14.48 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002189/0.5773, allocations: 203.1 kB / 1.519 GB, free: 14.28 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5773, allocations: 0 / 1.519 GB, free: 14.28 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004013/0.5777, allocations: 115.8 kB / 1.519 GB, free: 14.17 MB / 1.217 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.0001797/0.5778, allocations: 107.2 kB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.5781, allocations: 160.1 kB / 1.52 GB, free: 13.9 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5781, allocations: 4.062 kB / 1.52 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.5785, allocations: 201.1 kB / 1.52 GB, free: 13.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.5794, allocations: 196.8 kB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5806, allocations: 0.7727 MB / 1.521 GB, free: 12.69 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.5808, allocations: 194 kB / 1.521 GB, free: 12.49 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.5809, allocations: 31.38 kB / 1.521 GB, free: 12.46 MB / 1.217 GB Notification: Performance of SimCode: time 4.2e-07/0.5809, allocations: 0 / 1.521 GB, free: 12.46 MB / 1.217 GB Notification: Performance of Templates: time 0.00917/0.5901, allocations: 5.843 MB / 1.527 GB, free: 6.656 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.826106216292828]