Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.000962/0.000962, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001801/0.001801, allocations: 161 kB / 23.82 MB, free: 0.7539 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.979/0.979, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.946/1.946, allocations: 377.8 MB / 0.6236 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 177] 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.045e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002874/0.002895, allocations: 1.698 MB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1255/0.1284, allocations: 143.1 MB / 0.953 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.1285, allocations: 0 / 0.953 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.269e-05/0.1286, allocations: 7.875 kB / 0.953 GB, free: 392 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.1287, allocations: 19.8 kB / 0.953 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.1295, allocations: 246.9 kB / 0.9532 GB, free: 124 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1296, allocations: 87.7 kB / 0.9533 GB, free: 36 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.1297, allocations: 16 kB / 0.9533 GB, free: 20 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.106e-05/0.1298, allocations: 51.88 kB / 0.9534 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.1299, allocations: 35.89 kB / 0.9534 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1299, allocations: 8 kB / 0.9534 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.1302, allocations: 203.4 kB / 0.9536 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.1302, allocations: 23.91 kB / 0.9537 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.1303, allocations: 23.92 kB / 0.9537 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1305, allocations: 203.3 kB / 0.9539 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1305, allocations: 0 / 0.9539 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1305, allocations: 0 / 0.9539 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1305, allocations: 0 / 0.9539 GB, free: 15.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004559/0.131, allocations: 440.1 kB / 0.9543 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.131, allocations: 12.03 kB / 0.9543 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005805/0.1316, allocations: 136.7 kB / 0.9544 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.1317, allocations: 124.5 kB / 0.9546 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.1318, allocations: 63.95 kB / 0.9546 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1318, allocations: 12.12 kB / 0.9546 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.1321, allocations: 134.2 kB / 0.9548 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1321, allocations: 0 / 0.9548 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1321, allocations: 4 kB / 0.9548 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1321, allocations: 0 / 0.9548 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1322, allocations: 47.97 kB / 0.9548 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.1327, allocations: 385.1 kB / 0.9552 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1328, allocations: 83.03 kB / 0.9552 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.1329, allocations: 23.67 kB / 0.9553 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1329, allocations: 0 / 0.9553 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1329, allocations: 41.52 kB / 0.9553 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 6.51e-07/0.1329, allocations: 0 / 0.9553 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002989/0.1332, allocations: 97.56 kB / 0.9554 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1333, allocations: 55.34 kB / 0.9555 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.1333, allocations: 185.9 kB / 0.9556 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1334, allocations: 25.7 kB / 0.9557 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.1334, allocations: 158.8 kB / 0.9558 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1334, allocations: 11.91 kB / 0.9558 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.1335, allocations: 27.36 kB / 0.9558 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1336, allocations: 0.4884 MB / 0.9563 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.1336, allocations: 12 kB / 0.9563 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.1337, allocations: 19.98 kB / 0.9564 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.1338, allocations: 35.69 kB / 0.9564 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1338, allocations: 4 kB / 0.9564 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001272/0.1339, allocations: 74.02 kB / 0.9565 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1339, allocations: 11.98 kB / 0.9565 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1339, allocations: 0 / 0.9565 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1339, allocations: 0 / 0.9565 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1341, allocations: 31.92 kB / 0.9565 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1341, allocations: 0 / 0.9565 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.1341, allocations: 31.91 kB / 0.9565 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1341, allocations: 0 / 0.9565 GB, free: 12.53 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.694e-05/0.1342, allocations: 152.6 kB / 0.9567 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1342, allocations: 11.95 kB / 0.9567 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.1343, allocations: 8.438 kB / 0.9567 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1343, allocations: 7.938 kB / 0.9567 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1343, allocations: 3.938 kB / 0.9567 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1343, allocations: 7.984 kB / 0.9567 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1347, allocations: 156.5 kB / 0.9569 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1347, allocations: 0 / 0.9569 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.1347, allocations: 23.97 kB / 0.9569 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1347, allocations: 4 kB / 0.9569 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1347, allocations: 0 / 0.9569 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.1347, allocations: 4 kB / 0.9569 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1347, allocations: 0 / 0.9569 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1349, allocations: 219.9 kB / 0.9571 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.1349, allocations: 11.95 kB / 0.9571 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1349, allocations: 0 / 0.9571 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.135, allocations: 15.98 kB / 0.9571 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1351, allocations: 19.86 kB / 0.9572 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1351, allocations: 4 kB / 0.9572 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.1351, allocations: 140.9 kB / 0.9573 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1351, allocations: 0 / 0.9573 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001607/0.1353, allocations: 19.95 kB / 0.9573 GB, free: 11.67 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001294/0.1354, allocations: 107.2 kB / 0.9574 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.1356, allocations: 51.67 kB / 0.9575 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1356, allocations: 0 / 0.9575 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.1356, allocations: 35.8 kB / 0.9575 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.1358, allocations: 22.34 kB / 0.9575 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.1365, allocations: 238.3 kB / 0.9577 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.1365, allocations: 59.34 kB / 0.9578 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.434e-05/0.1366, allocations: 15.98 kB / 0.9578 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.1367, allocations: 16.5 kB / 0.9578 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.1367, allocations: 0 / 0.9578 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of Templates: time 0.003031/0.1397, allocations: 1.615 MB / 0.9594 GB, free: 9.488 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.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.461000449024141]