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.0008582/0.0008582, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008103/0.0008103, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8572/0.8572, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.818e-05, allocations: 5.234 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6676/0.6676, allocations: 143.1 MB / 1.141 GB, free: 10.83 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.6718, allocations: 2.747 MB / 1.143 GB, free: 8.98 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.6723, allocations: 18.88 kB / 1.143 GB, free: 8.973 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.673, allocations: 204.7 kB / 1.143 GB, free: 8.863 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.6748, allocations: 0.8303 MB / 1.144 GB, free: 8.398 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.6755, allocations: 357 kB / 1.145 GB, free: 8.203 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.6767, allocations: 0.9749 MB / 1.146 GB, free: 7.738 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.677, allocations: 213.2 kB / 1.146 GB, free: 7.633 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007054/0.6777, allocations: 0.4973 MB / 1.146 GB, free: 7.406 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/0.6785, allocations: 263 kB / 1.147 GB, free: 7.328 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.6785, allocations: 33.5 kB / 1.147 GB, free: 7.328 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009858/0.6795, allocations: 0.5365 MB / 1.147 GB, free: 7.125 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.6797, allocations: 149.1 kB / 1.147 GB, free: 7.047 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.6798, allocations: 152.3 kB / 1.147 GB, free: 6.984 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.6809, allocations: 0.7459 MB / 1.148 GB, free: 6.734 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6809, allocations: 3.938 kB / 1.148 GB, free: 6.73 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6809, allocations: 1.094 kB / 1.148 GB, free: 6.73 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.6809, allocations: 4 kB / 1.148 GB, free: 6.727 MB / 1.01 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.0009531/0.6819, allocations: 0.6468 MB / 1.149 GB, free: 6.238 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6819, allocations: 10.34 kB / 1.149 GB, free: 6.238 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.6826, allocations: 143.2 kB / 1.149 GB, free: 6.207 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.6831, allocations: 363 kB / 1.149 GB, free: 5.949 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6831, allocations: 17.97 kB / 1.149 GB, free: 5.941 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.6831, allocations: 25.17 kB / 1.149 GB, free: 5.934 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.6835, allocations: 384.4 kB / 1.15 GB, free: 5.672 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6835, allocations: 3.938 kB / 1.15 GB, free: 5.668 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.6836, allocations: 6.688 kB / 1.15 GB, free: 5.664 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.6836, allocations: 13.36 kB / 1.15 GB, free: 5.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.6839, allocations: 196.9 kB / 1.15 GB, free: 5.594 MB / 1.01 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.001139/0.685, allocations: 0.7882 MB / 1.151 GB, free: 5.078 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.6853, allocations: 180.8 kB / 1.151 GB, free: 4.996 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.6854, allocations: 86.28 kB / 1.151 GB, free: 4.957 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.6854, allocations: 10.97 kB / 1.151 GB, free: 4.949 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.6854, allocations: 33.48 kB / 1.151 GB, free: 4.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.694e-06/0.6854, allocations: 0 / 1.151 GB, free: 4.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0006336/0.6861, allocations: 316.6 kB / 1.151 GB, free: 4.773 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.6861, allocations: 58.06 kB / 1.151 GB, free: 4.707 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.6863, allocations: 301.7 kB / 1.152 GB, free: 4.543 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.6864, allocations: 31.39 kB / 1.152 GB, free: 4.508 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6865, allocations: 204.2 kB / 1.152 GB, free: 4.336 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.6865, allocations: 68.56 kB / 1.152 GB, free: 4.281 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.6866, allocations: 46.14 kB / 1.152 GB, free: 4.25 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.6867, allocations: 337.2 kB / 1.152 GB, free: 3.926 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.6868, allocations: 63.75 kB / 1.152 GB, free: 3.902 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.6869, allocations: 112.5 kB / 1.152 GB, free: 3.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.6871, allocations: 204.2 kB / 1.153 GB, free: 3.688 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6871, allocations: 2.156 kB / 1.153 GB, free: 3.688 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002767/0.6874, allocations: 244.4 kB / 1.153 GB, free: 3.566 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6874, allocations: 6.969 kB / 1.153 GB, free: 3.566 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6874, allocations: 1.406 kB / 1.153 GB, free: 3.566 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6874, allocations: 7.406 kB / 1.153 GB, free: 3.562 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6875, allocations: 43.97 kB / 1.153 GB, free: 3.559 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.6875, allocations: 7.016 kB / 1.153 GB, free: 3.555 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.6877, allocations: 21.11 kB / 1.153 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.6877, allocations: 5.844 kB / 1.153 GB, free: 3.539 MB / 1.01 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.0001247/0.6878, allocations: 162.4 kB / 1.153 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.6878, allocations: 32.25 kB / 1.153 GB, free: 3.379 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.6879, allocations: 33.47 kB / 1.153 GB, free: 3.352 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6879, allocations: 2.859 kB / 1.153 GB, free: 3.352 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6879, allocations: 0.9688 kB / 1.153 GB, free: 3.352 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6879, allocations: 13.38 kB / 1.153 GB, free: 3.34 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.6882, allocations: 285.4 kB / 1.153 GB, free: 3.145 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6882, allocations: 2.594 kB / 1.153 GB, free: 3.145 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.6883, allocations: 29.28 kB / 1.153 GB, free: 3.145 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.6885, allocations: 48.73 kB / 1.153 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.6885, allocations: 2.172 kB / 1.153 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008911/0.6894, allocations: 1.381 MB / 1.155 GB, free: 1.812 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6894, allocations: 4.594 kB / 1.155 GB, free: 1.809 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.6898, allocations: 397.6 kB / 1.155 GB, free: 1.562 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.6899, allocations: 55.22 kB / 1.155 GB, free: 1.531 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.6899, allocations: 6.219 kB / 1.155 GB, free: 1.527 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6901, allocations: 7.516 kB / 1.155 GB, free: 1.523 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.6901, allocations: 10.77 kB / 1.155 GB, free: 1.523 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.6901, allocations: 14.12 kB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001724/0.6903, allocations: 208.5 kB / 1.156 GB, free: 1.402 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6903, allocations: 4.062 kB / 1.156 GB, free: 1.398 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003369/0.6906, allocations: 109.6 kB / 1.156 GB, free: 1.379 MB / 1.01 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.0001639/0.6908, allocations: 115 kB / 1.156 GB, free: 1.285 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.691, allocations: 158.6 kB / 1.156 GB, free: 1.227 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.691, allocations: 1.188 kB / 1.156 GB, free: 1.227 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.6912, allocations: 197.8 kB / 1.156 GB, free: 1.082 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.6919, allocations: 187.3 kB / 1.156 GB, free: 1.035 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.6928, allocations: 0.682 MB / 1.157 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.6929, allocations: 188.4 kB / 1.157 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.693, allocations: 32.34 kB / 1.157 GB, free: 496 kB / 1.01 GB Notification: Performance of SimCode: time 6.92e-07/0.693, allocations: 7.938 kB / 1.157 GB, free: 488 kB / 1.01 GB Notification: Performance of Templates: time 0.009573/0.7026, allocations: 5.907 MB / 1.163 GB, free: 15.9 MB / 1.026 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/jenkins/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: 8.21882324013859]