Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001911/0.001911, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00245/0.00245, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.4/3.4, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.0021/0.0021, allocations: 69.14 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 176.1 MB / 1.325 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1881/0.5238, allocations: 143.1 MB / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00485/0.5287, allocations: 2.741 MB / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.5291, allocations: 23.81 kB / 1.468 GB, free: 15.42 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007381/0.5298, allocations: 190.8 kB / 1.468 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.5319, allocations: 0.8129 MB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.5327, allocations: 354.1 kB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.534, allocations: 0.9702 MB / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.5344, allocations: 203.6 kB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.535, allocations: 386.6 kB / 1.471 GB, free: 12.51 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.5359, allocations: 306.8 kB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/0.536, allocations: 32 kB / 1.471 GB, free: 12.18 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.537, allocations: 0.522 MB / 1.472 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.5372, allocations: 151.5 kB / 1.472 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.5374, allocations: 179.2 kB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.5385, allocations: 0.7358 MB / 1.473 GB, free: 10.6 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5385, allocations: 0 / 1.473 GB, free: 10.6 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5385, allocations: 0 / 1.473 GB, free: 10.6 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.5385, allocations: 0 / 1.473 GB, free: 10.6 MB / 1.17 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.001171/0.5397, allocations: 0.6446 MB / 1.473 GB, free: 9.922 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5397, allocations: 16.03 kB / 1.473 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5407, allocations: 143.6 kB / 1.473 GB, free: 9.766 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.5414, allocations: 356 kB / 1.474 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.5414, allocations: 20.5 kB / 1.474 GB, free: 9.367 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.5415, allocations: 24 kB / 1.474 GB, free: 9.344 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.5421, allocations: 381.5 kB / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5421, allocations: 0 / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.5421, allocations: 8 kB / 1.474 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.5421, allocations: 12.5 kB / 1.474 GB, free: 8.918 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.5425, allocations: 193.9 kB / 1.474 GB, free: 8.727 MB / 1.17 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.001596/0.5441, allocations: 0.7965 MB / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.5445, allocations: 194.7 kB / 1.475 GB, free: 7.699 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5447, allocations: 84.83 kB / 1.475 GB, free: 7.613 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.5447, allocations: 0 / 1.475 GB, free: 7.613 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.5447, allocations: 34.91 kB / 1.475 GB, free: 7.57 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 4.338e-06/0.5447, allocations: 3.984 kB / 1.475 GB, free: 7.566 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.0009671/0.5457, allocations: 327.7 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.5457, allocations: 59.41 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.5461, allocations: 292.5 kB / 1.476 GB, free: 6.875 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.5461, allocations: 33.7 kB / 1.476 GB, free: 6.836 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5463, allocations: 192.6 kB / 1.476 GB, free: 6.645 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.5463, allocations: 71.38 kB / 1.476 GB, free: 6.574 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.5464, allocations: 45.7 kB / 1.476 GB, free: 6.523 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5466, allocations: 338.8 kB / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5467, allocations: 67.97 kB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5468, allocations: 120.3 kB / 1.477 GB, free: 5.98 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.5471, allocations: 199 kB / 1.477 GB, free: 5.766 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5471, allocations: 0 / 1.477 GB, free: 5.766 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003878/0.5475, allocations: 250.6 kB / 1.477 GB, free: 5.516 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5475, allocations: 7.984 kB / 1.477 GB, free: 5.508 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.5476, allocations: 7.938 kB / 1.477 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5476, allocations: 4 kB / 1.477 GB, free: 5.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.5478, allocations: 35.98 kB / 1.477 GB, free: 5.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5478, allocations: 11.92 kB / 1.477 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.5481, allocations: 19.84 kB / 1.477 GB, free: 5.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.5481, allocations: 8 kB / 1.477 GB, free: 5.422 MB / 1.17 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.0001711/0.5482, allocations: 165.9 kB / 1.478 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.5483, allocations: 31.86 kB / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.5484, allocations: 38.23 kB / 1.478 GB, free: 5.18 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5484, allocations: 0 / 1.478 GB, free: 5.18 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5484, allocations: 4 kB / 1.478 GB, free: 5.176 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5484, allocations: 0 / 1.478 GB, free: 5.176 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.5488, allocations: 281.1 kB / 1.478 GB, free: 4.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5488, allocations: 0 / 1.478 GB, free: 4.871 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.549, allocations: 31.98 kB / 1.478 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.5493, allocations: 36.83 kB / 1.478 GB, free: 4.801 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.5493, allocations: 16 kB / 1.478 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.5506, allocations: 1.389 MB / 1.479 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5506, allocations: 0 / 1.479 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.5512, allocations: 406.4 kB / 1.48 GB, free: 2.875 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.5513, allocations: 51.77 kB / 1.48 GB, free: 2.824 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.5514, allocations: 11.94 kB / 1.48 GB, free: 2.812 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.5516, allocations: 4.062 kB / 1.48 GB, free: 2.809 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.5517, allocations: 23.91 kB / 1.48 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5517, allocations: 4 kB / 1.48 GB, free: 2.781 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000225/0.5519, allocations: 207.1 kB / 1.48 GB, free: 2.582 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5519, allocations: 0 / 1.48 GB, free: 2.582 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004093/0.5523, allocations: 111.8 kB / 1.48 GB, free: 2.473 MB / 1.17 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.0001813/0.5525, allocations: 119.2 kB / 1.48 GB, free: 2.348 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.5528, allocations: 149.6 kB / 1.48 GB, free: 2.203 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5528, allocations: 4 kB / 1.48 GB, free: 2.199 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.5532, allocations: 198.6 kB / 1.481 GB, free: 1.992 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.5541, allocations: 195.9 kB / 1.481 GB, free: 1.809 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5554, allocations: 0.7453 MB / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.5556, allocations: 190 kB / 1.482 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.5558, allocations: 62.88 kB / 1.482 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.5558, allocations: 23.44 kB / 1.482 GB, free: 0.75 MB / 1.17 GB Notification: Performance of SimCode: time 4.51e-07/0.5558, allocations: 0 / 1.482 GB, free: 0.75 MB / 1.17 GB Notification: Performance of Templates: time 0.01312/0.569, allocations: 6.916 MB / 1.489 GB, free: 9.996 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.721787737682462]