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.001185/0.001185, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001153/0.001153, allocations: 161 kB / 24.16 MB, free: 336 kB / 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 1.067/1.067, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.413e-06/1.413e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.5e-05, allocations: 2.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1521/0.1521, allocations: 146.5 MB / 0.9031 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.155, allocations: 2.342 MB / 0.9054 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.1552, allocations: 19.88 kB / 0.9054 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.1558, allocations: 139 kB / 0.9055 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.1569, allocations: 0.641 MB / 0.9062 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1573, allocations: 323.2 kB / 0.9065 GB, free: 324 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008936/0.1582, allocations: 0.9613 MB / 0.9074 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005602/0.1587, allocations: 239 kB / 0.9076 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.1595, allocations: 0.5652 MB / 0.9082 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1598, allocations: 247.2 kB / 0.9084 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.1598, allocations: 32 kB / 0.9085 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.1601, allocations: 287.1 kB / 0.9087 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1602, allocations: 139.6 kB / 0.9089 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1603, allocations: 143.7 kB / 0.909 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.1609, allocations: 466.5 kB / 0.9094 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1609, allocations: 0 / 0.9094 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1609, allocations: 0 / 0.9094 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1609, allocations: 4 kB / 0.9095 GB, free: 13.28 MB / 0.8698 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.0006708/0.1616, allocations: 0.585 MB / 0.91 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1616, allocations: 12.03 kB / 0.91 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.1622, allocations: 164.5 kB / 0.9102 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1626, allocations: 312.3 kB / 0.9105 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1626, allocations: 24.62 kB / 0.9105 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.1626, allocations: 31.98 kB / 0.9105 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1629, allocations: 292.4 kB / 0.9108 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1629, allocations: 0 / 0.9108 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1629, allocations: 12 kB / 0.9108 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.163, allocations: 12.5 kB / 0.9108 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1631, allocations: 81.38 kB / 0.9109 GB, free: 11.69 MB / 0.8698 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.0008044/0.1639, allocations: 0.6017 MB / 0.9115 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1642, allocations: 105.3 kB / 0.9116 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.1642, allocations: 44.78 kB / 0.9117 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1642, allocations: 0 / 0.9117 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1642, allocations: 34.56 kB / 0.9117 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.1642, allocations: 4 kB / 0.9117 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0004181/0.1647, allocations: 192.3 kB / 0.9119 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1647, allocations: 59.34 kB / 0.9119 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.1648, allocations: 255 kB / 0.9122 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.1649, allocations: 33.7 kB / 0.9122 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1649, allocations: 169.2 kB / 0.9124 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.165, allocations: 75.31 kB / 0.9124 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.165, allocations: 49.67 kB / 0.9125 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.1651, allocations: 342.7 kB / 0.9128 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.1652, allocations: 22.81 kB / 0.9128 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.1652, allocations: 65.98 kB / 0.9129 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1653, allocations: 123.4 kB / 0.913 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1653, allocations: 0 / 0.913 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001796/0.1655, allocations: 142.7 kB / 0.9132 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1655, allocations: 4 kB / 0.9132 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1655, allocations: 3.984 kB / 0.9132 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1655, allocations: 7.984 kB / 0.9132 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1657, allocations: 48.11 kB / 0.9132 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1657, allocations: 7.938 kB / 0.9132 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1658, allocations: 15.89 kB / 0.9132 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1658, allocations: 8 kB / 0.9132 GB, free: 9.16 MB / 0.8698 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 8.217e-05/0.1659, allocations: 128.5 kB / 0.9134 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1659, allocations: 27.97 kB / 0.9134 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1659, allocations: 34.3 kB / 0.9134 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1659, allocations: 0 / 0.9134 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1659, allocations: 0 / 0.9134 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.166, allocations: 0 / 0.9134 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1662, allocations: 201.5 kB / 0.9136 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1662, allocations: 4 kB / 0.9136 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.1663, allocations: 43.91 kB / 0.9137 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.1665, allocations: 46.48 kB / 0.9137 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1665, allocations: 4 kB / 0.9137 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007241/0.1672, allocations: 1.242 MB / 0.9149 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1672, allocations: 3.984 kB / 0.9149 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1674, allocations: 270.5 kB / 0.9152 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1675, allocations: 35.8 kB / 0.9152 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1675, allocations: 7.938 kB / 0.9152 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1676, allocations: 8 kB / 0.9152 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1677, allocations: 16 kB / 0.9153 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1677, allocations: 4 kB / 0.9153 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.1677, allocations: 96.62 kB / 0.9153 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1677, allocations: 0 / 0.9153 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002235/0.168, allocations: 111.8 kB / 0.9155 GB, free: 6.738 MB / 0.8698 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.0001203/0.1681, allocations: 92.34 kB / 0.9155 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1682, allocations: 92.33 kB / 0.9156 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1682, allocations: 4 kB / 0.9156 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1684, allocations: 175.3 kB / 0.9158 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1688, allocations: 191.7 kB / 0.916 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.1697, allocations: 0.6068 MB / 0.9166 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.1697, allocations: 109.5 kB / 0.9167 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.1698, allocations: 46.95 kB / 0.9167 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.1701, allocations: 161.2 kB / 0.9169 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/0.1701, allocations: 3.938 kB / 0.9169 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of Templates: time 0.008868/0.179, allocations: 7.225 MB / 0.9239 GB, free: 14.19 MB / 0.8855 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 -s gbode -gbm=radauIIA3 -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.458708809688687]