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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 70.94 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3471, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2031/0.5501, allocations: 163.1 MB / 1.467 GB, free: 14.1 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005564/0.5557, allocations: 2.941 MB / 1.469 GB, free: 11.15 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007266/0.5564, allocations: 15.88 kB / 1.469 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.5573, allocations: 214.8 kB / 1.47 GB, free: 10.92 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.5599, allocations: 0.8245 MB / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.5609, allocations: 355.1 kB / 1.471 GB, free: 9.746 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.5625, allocations: 0.9859 MB / 1.472 GB, free: 8.758 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.5628, allocations: 206.5 kB / 1.472 GB, free: 8.555 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007285/0.5635, allocations: 386.5 kB / 1.472 GB, free: 8.176 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.5645, allocations: 307.4 kB / 1.473 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/0.5645, allocations: 32 kB / 1.473 GB, free: 7.848 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.566, allocations: 0.6975 MB / 1.473 GB, free: 7.148 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.5662, allocations: 139.6 kB / 1.473 GB, free: 7.012 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.5665, allocations: 219 kB / 1.474 GB, free: 6.797 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.568, allocations: 0.7552 MB / 1.474 GB, free: 6.039 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.568, allocations: 0 / 1.474 GB, free: 6.039 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.568, allocations: 0 / 1.474 GB, free: 6.039 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.568, allocations: 0 / 1.474 GB, free: 6.039 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.001302/0.5693, allocations: 0.6523 MB / 1.475 GB, free: 5.355 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5694, allocations: 12.92 kB / 1.475 GB, free: 5.344 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5705, allocations: 131.7 kB / 1.475 GB, free: 5.215 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.5712, allocations: 371.9 kB / 1.476 GB, free: 4.824 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.5712, allocations: 16.5 kB / 1.476 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.5713, allocations: 27.95 kB / 1.476 GB, free: 4.781 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.5718, allocations: 278.8 kB / 1.476 GB, free: 4.492 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5719, allocations: 0 / 1.476 GB, free: 4.492 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.5719, allocations: 8 kB / 1.476 GB, free: 4.484 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.5719, allocations: 16.48 kB / 1.476 GB, free: 4.469 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.5723, allocations: 197.8 kB / 1.476 GB, free: 4.277 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.001968/0.5743, allocations: 1.284 MB / 1.477 GB, free: 2.859 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.5747, allocations: 203.6 kB / 1.477 GB, free: 2.652 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5749, allocations: 76.83 kB / 1.478 GB, free: 2.574 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.5749, allocations: 4 kB / 1.478 GB, free: 2.57 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.5749, allocations: 34.56 kB / 1.478 GB, free: 2.527 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.5749, allocations: 4 kB / 1.478 GB, free: 2.523 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001013/0.5759, allocations: 324.5 kB / 1.478 GB, free: 2.199 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.576, allocations: 55.41 kB / 1.478 GB, free: 2.133 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.5763, allocations: 296.6 kB / 1.478 GB, free: 1.836 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.5763, allocations: 29.7 kB / 1.478 GB, free: 1.801 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.5765, allocations: 204.2 kB / 1.478 GB, free: 1.594 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.5766, allocations: 67.44 kB / 1.479 GB, free: 1.527 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.5767, allocations: 49.66 kB / 1.479 GB, free: 1.473 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5768, allocations: 338.8 kB / 1.479 GB, free: 1.133 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5769, allocations: 63.97 kB / 1.479 GB, free: 1.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.5771, allocations: 115.7 kB / 1.479 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.5774, allocations: 199.1 kB / 1.479 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5774, allocations: 0 / 1.479 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004005/0.5778, allocations: 254.8 kB / 1.479 GB, free: 480 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5778, allocations: 11.94 kB / 1.48 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5778, allocations: 0 / 1.48 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5779, allocations: 4 kB / 1.48 GB, free: 464 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.5781, allocations: 47.92 kB / 1.48 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5781, allocations: 0 / 1.48 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.5784, allocations: 19.83 kB / 1.48 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.5784, allocations: 8 kB / 1.48 GB, free: 388 kB / 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.0001857/0.5786, allocations: 170.7 kB / 1.48 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.5786, allocations: 39.73 kB / 1.48 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.5787, allocations: 35.02 kB / 1.48 GB, free: 128 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5787, allocations: 4 kB / 1.48 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5787, allocations: 0 / 1.48 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5787, allocations: 0 / 1.48 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.5793, allocations: 376.3 kB / 1.48 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5793, allocations: 0 / 1.48 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.5795, allocations: 35.92 kB / 1.48 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.5797, allocations: 52.75 kB / 1.48 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.5797, allocations: 4 kB / 1.48 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.5812, allocations: 1.408 MB / 1.482 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5812, allocations: 4.031 kB / 1.482 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.5818, allocations: 396.8 kB / 1.482 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.5819, allocations: 51.73 kB / 1.482 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.582, allocations: 12 kB / 1.482 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.5822, allocations: 10.39 kB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.5823, allocations: 11.98 kB / 1.482 GB, free: 13.6 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.5823, allocations: 7.984 kB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002447/0.5825, allocations: 215.1 kB / 1.482 GB, free: 13.39 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5825, allocations: 0 / 1.482 GB, free: 13.39 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004422/0.583, allocations: 111.8 kB / 1.482 GB, free: 13.28 MB / 1.186 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.0001878/0.5832, allocations: 107.2 kB / 1.483 GB, free: 13.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.5835, allocations: 159.8 kB / 1.483 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.5835, allocations: 8.312 kB / 1.483 GB, free: 13 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.5839, allocations: 194.6 kB / 1.483 GB, free: 12.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5849, allocations: 202 kB / 1.483 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.5863, allocations: 0.7397 MB / 1.484 GB, free: 11.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.5868, allocations: 0.7998 MB / 1.485 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.5871, allocations: 63.25 kB / 1.485 GB, free: 10.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.5872, allocations: 31.38 kB / 1.485 GB, free: 10.92 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.5872, allocations: 0 / 1.485 GB, free: 10.92 MB / 1.186 GB Notification: Performance of Templates: time 0.0161/0.6033, allocations: 6.32 MB / 1.491 GB, free: 4.707 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.716990193352103]