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.0009539/0.0009539, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009965/0.0009965, allocations: 165.3 kB / 23.82 MB, free: 0.7461 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.9594/0.9594, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.477e-05, allocations: 7.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1448/0.1448, allocations: 147.1 MB / 0.9552 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1482, allocations: 2.314 MB / 0.9574 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.1486, allocations: 19.81 kB / 0.9574 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.1491, allocations: 139 kB / 0.9576 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.1504, allocations: 0.6333 MB / 0.9582 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.1511, allocations: 331.1 kB / 0.9585 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1522, allocations: 0.9582 MB / 0.9595 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.1525, allocations: 226.6 kB / 0.9597 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.1538, allocations: 0.5681 MB / 0.9602 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1542, allocations: 263.2 kB / 0.9605 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1543, allocations: 32 kB / 0.9605 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.1548, allocations: 283.1 kB / 0.9608 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.155, allocations: 143.5 kB / 0.9609 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1551, allocations: 147.7 kB / 0.9611 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.1558, allocations: 458.5 kB / 0.9615 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1558, allocations: 0 / 0.9615 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1559, allocations: 0 / 0.9615 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.1559, allocations: 4 kB / 0.9615 GB, free: 7.691 MB / 0.9167 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.000985/0.1568, allocations: 0.7253 MB / 0.9622 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1569, allocations: 12.03 kB / 0.9622 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.1575, allocations: 160.4 kB / 0.9624 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1579, allocations: 350.9 kB / 0.9627 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1579, allocations: 24.62 kB / 0.9627 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.158, allocations: 28 kB / 0.9627 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1583, allocations: 311.2 kB / 0.963 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1583, allocations: 3.938 kB / 0.963 GB, free: 6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.1584, allocations: 12 kB / 0.9631 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.1584, allocations: 8.5 kB / 0.9631 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1586, allocations: 102.9 kB / 0.9632 GB, free: 5.879 MB / 0.9167 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.001167/0.1597, allocations: 0.8764 MB / 0.964 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.16, allocations: 135.3 kB / 0.9642 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.1601, allocations: 47.67 kB / 0.9642 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1601, allocations: 4 kB / 0.9642 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1601, allocations: 41.39 kB / 0.9642 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 2.845e-06/0.1601, allocations: 4 kB / 0.9642 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0006215/0.1607, allocations: 237.3 kB / 0.9645 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.1608, allocations: 55.41 kB / 0.9645 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.161, allocations: 326.3 kB / 0.9648 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.161, allocations: 41.64 kB / 0.9649 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.1612, allocations: 247.3 kB / 0.9651 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1612, allocations: 75.39 kB / 0.9652 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.1613, allocations: 43.36 kB / 0.9652 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1614, allocations: 0.5196 MB / 0.9657 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.1615, allocations: 23.98 kB / 0.9658 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.1616, allocations: 101.8 kB / 0.9659 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1617, allocations: 152 kB / 0.966 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1617, allocations: 4 kB / 0.966 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002147/0.1619, allocations: 186 kB / 0.9662 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1619, allocations: 5.875 kB / 0.9662 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1619, allocations: 4 kB / 0.9662 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.162, allocations: 0 / 0.9662 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1621, allocations: 48.11 kB / 0.9662 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1621, allocations: 8 kB / 0.9662 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1622, allocations: 19.83 kB / 0.9663 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1622, allocations: 4 kB / 0.9663 GB, free: 2.504 MB / 0.9167 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.0001044/0.1623, allocations: 180.4 kB / 0.9664 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1624, allocations: 31.81 kB / 0.9665 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.1624, allocations: 38.3 kB / 0.9665 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1624, allocations: 7.984 kB / 0.9665 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1624, allocations: 0 / 0.9665 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1624, allocations: 0 / 0.9665 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.1627, allocations: 284.4 kB / 0.9668 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1627, allocations: 4 kB / 0.9668 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1629, allocations: 31.92 kB / 0.9668 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.1631, allocations: 51.64 kB / 0.9669 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1631, allocations: 0 / 0.9669 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008594/0.164, allocations: 1.791 MB / 0.9686 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.164, allocations: 0 / 0.9686 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1643, allocations: 363.3 kB / 0.969 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1644, allocations: 51.78 kB / 0.969 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1644, allocations: 12.12 kB / 0.969 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1645, allocations: 8 kB / 0.969 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.1646, allocations: 19.95 kB / 0.969 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1646, allocations: 8 kB / 0.9691 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001248/0.1647, allocations: 227 kB / 0.9693 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1647, allocations: 0 / 0.9693 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002695/0.165, allocations: 107.8 kB / 0.9694 GB, free: 15.12 MB / 0.9323 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.0001421/0.1651, allocations: 107.2 kB / 0.9695 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1653, allocations: 108.6 kB / 0.9696 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1653, allocations: 4.125 kB / 0.9696 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1655, allocations: 241.3 kB / 0.9698 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.1661, allocations: 200.8 kB / 0.97 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1673, allocations: 0.6312 MB / 0.9706 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.53e-05/0.1674, allocations: 105.5 kB / 0.9707 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.1676, allocations: 58.91 kB / 0.9708 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.1676, allocations: 24.5 kB / 0.9708 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of SimCode: time 1.202e-06/0.1676, allocations: 0 / 0.9708 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of Templates: time 0.008793/0.1764, allocations: 6.988 MB / 0.9776 GB, free: 6.789 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.258738336153328]