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.000938/0.000938, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009783/0.0009783, allocations: 169 kB / 23.02 MB, free: 1.551 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.9687/0.9687, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 2.096/2.096, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 2.295e-06/2.295e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.39e-05, allocations: 2.875 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1418/0.1418, allocations: 147.1 MB / 1.022 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.145, allocations: 2.315 MB / 1.024 GB, free: 400 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.1454, allocations: 23.81 kB / 1.024 GB, free: 376 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.1459, allocations: 135.1 kB / 1.024 GB, free: 240 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1471, allocations: 0.6412 MB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.1477, allocations: 327.2 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1487, allocations: 0.9682 MB / 1.026 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.149, allocations: 222.6 kB / 1.026 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.1502, allocations: 0.5746 MB / 1.027 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.1505, allocations: 255.2 kB / 1.027 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.1506, allocations: 32 kB / 1.027 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.1511, allocations: 287.1 kB / 1.027 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1512, allocations: 143.5 kB / 1.028 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1513, allocations: 151.7 kB / 1.028 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.152, allocations: 454.5 kB / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.152, allocations: 0 / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.152, allocations: 0 / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.152, allocations: 0 / 1.028 GB, free: 12.22 MB / 0.9948 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.0008527/0.1529, allocations: 0.7368 MB / 1.029 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1529, allocations: 8.031 kB / 1.029 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/0.1535, allocations: 160.4 kB / 1.029 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.1539, allocations: 355 kB / 1.029 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1539, allocations: 20.62 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.154, allocations: 32 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.1543, allocations: 311.2 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1543, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1544, allocations: 8 kB / 1.03 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.1544, allocations: 12.5 kB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1546, allocations: 106.8 kB / 1.03 GB, free: 10.39 MB / 0.9948 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.001113/0.1557, allocations: 0.8647 MB / 1.031 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1559, allocations: 139.3 kB / 1.031 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.156, allocations: 59.61 kB / 1.031 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.156, allocations: 3.984 kB / 1.031 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.156, allocations: 37.39 kB / 1.031 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.156, allocations: 3.938 kB / 1.031 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0005464/0.1566, allocations: 243.5 kB / 1.031 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1566, allocations: 51.41 kB / 1.031 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1568, allocations: 326.3 kB / 1.031 GB, free: 8.582 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1569, allocations: 29.7 kB / 1.032 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.157, allocations: 259.3 kB / 1.032 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1571, allocations: 67.38 kB / 1.032 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.1571, allocations: 55.31 kB / 1.032 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1572, allocations: 0.5117 MB / 1.032 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.1573, allocations: 27.98 kB / 1.032 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.1574, allocations: 101.7 kB / 1.033 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1575, allocations: 145.7 kB / 1.033 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1575, allocations: 0 / 1.033 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002139/0.1577, allocations: 191 kB / 1.033 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1577, allocations: 8 kB / 1.033 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1577, allocations: 0 / 1.033 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1578, allocations: 4 kB / 1.033 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1579, allocations: 47.91 kB / 1.033 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1579, allocations: 192 / 1.033 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.158, allocations: 23.83 kB / 1.033 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.158, allocations: 8 kB / 1.033 GB, free: 7.027 MB / 0.9948 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 9.276e-05/0.1581, allocations: 172.5 kB / 1.033 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.1581, allocations: 39.81 kB / 1.033 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1582, allocations: 34.3 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1582, allocations: 0 / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1582, allocations: 0 / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1582, allocations: 4 kB / 1.033 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.1586, allocations: 284.3 kB / 1.033 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1586, allocations: 0 / 1.033 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.1587, allocations: 43.92 kB / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.1589, allocations: 39.66 kB / 1.034 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1589, allocations: 11.94 kB / 1.034 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008791/0.1598, allocations: 1.791 MB / 1.035 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1598, allocations: 4 kB / 1.035 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1601, allocations: 360.8 kB / 1.036 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.1601, allocations: 47.78 kB / 1.036 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1602, allocations: 8 kB / 1.036 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1603, allocations: 3.938 kB / 1.036 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1603, allocations: 15.97 kB / 1.036 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1603, allocations: 8 kB / 1.036 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001306/0.1605, allocations: 227 kB / 1.036 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1605, allocations: 4 kB / 1.036 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002774/0.1607, allocations: 103.9 kB / 1.036 GB, free: 3.66 MB / 0.9948 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.0001625/0.1609, allocations: 115.2 kB / 1.036 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1611, allocations: 117.7 kB / 1.036 GB, free: 3.418 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1611, allocations: 384 / 1.036 GB, free: 3.418 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.1613, allocations: 241.4 kB / 1.036 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.1619, allocations: 202.5 kB / 1.037 GB, free: 2.969 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1632, allocations: 0.6274 MB / 1.037 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.1633, allocations: 105.5 kB / 1.037 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.1635, allocations: 50.94 kB / 1.037 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.1635, allocations: 28.5 kB / 1.037 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/0.1635, allocations: 0 / 1.037 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of Templates: time 0.009895/0.1734, allocations: 7.032 MB / 1.044 GB, free: 11.24 MB / 1.01 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.963999568019062]