Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0008338/0.0008338, 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.0009604/0.0009604, 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.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.973/1.973, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.8116 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.961e-05, allocations: 10.34 kB / 0.8116 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1239/0.1239, allocations: 146.1 MB / 0.9542 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1252, allocations: 0.8566 MB / 0.9551 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1254, allocations: 11.88 kB / 0.9551 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1257, allocations: 75.36 kB / 0.9551 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007295/0.1265, allocations: 334.2 kB / 0.9555 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.127, allocations: 295.2 kB / 0.9557 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.1275, allocations: 0.5455 MB / 0.9563 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.1278, allocations: 173.5 kB / 0.9564 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.1281, allocations: 303.1 kB / 0.9567 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1283, allocations: 167.5 kB / 0.9569 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1284, allocations: 16 kB / 0.9569 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1285, allocations: 83.91 kB / 0.957 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.1286, allocations: 91.72 kB / 0.9571 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.1289, allocations: 79.83 kB / 0.9572 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1292, allocations: 239.1 kB / 0.9574 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1292, allocations: 0 / 0.9574 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1293, allocations: 4 kB / 0.9574 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1293, allocations: 4 kB / 0.9574 GB, free: 11.76 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006021/0.1299, allocations: 0.554 MB / 0.9579 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1299, allocations: 12.03 kB / 0.9579 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.13, allocations: 36.8 kB / 0.958 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1302, allocations: 244.9 kB / 0.9582 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1302, allocations: 24.3 kB / 0.9582 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1303, allocations: 16.38 kB / 0.9582 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1305, allocations: 250.6 kB / 0.9585 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1306, allocations: 0 / 0.9585 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1306, allocations: 8 kB / 0.9585 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1306, allocations: 7.984 kB / 0.9585 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.1307, allocations: 71.83 kB / 0.9586 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.1315, allocations: 1.684 MB / 0.9602 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1317, allocations: 194.7 kB / 0.9604 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.1318, allocations: 74.11 kB / 0.9605 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.1319, allocations: 39.45 kB / 0.9605 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1319, allocations: 45.33 kB / 0.9606 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1319, allocations: 0 / 0.9606 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002533/0.1322, allocations: 121.3 kB / 0.9607 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.1322, allocations: 183.9 kB / 0.9608 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1324, allocations: 255.1 kB / 0.9611 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1324, allocations: 33.7 kB / 0.9611 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.1325, allocations: 207 kB / 0.9613 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1325, allocations: 43.67 kB / 0.9614 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1326, allocations: 39.36 kB / 0.9614 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1327, allocations: 0.5001 MB / 0.9619 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.1327, allocations: 11.98 kB / 0.9619 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.1328, allocations: 207.9 kB / 0.9621 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.1329, allocations: 117.7 kB / 0.9622 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1329, allocations: 4 kB / 0.9622 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000131/0.133, allocations: 129.3 kB / 0.9623 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.133, allocations: 4 kB / 0.9623 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.133, allocations: 4 kB / 0.9623 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.133, allocations: 0 / 0.9623 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.1331, allocations: 40.14 kB / 0.9624 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1331, allocations: 4 kB / 0.9624 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.1332, allocations: 11.89 kB / 0.9624 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1332, allocations: 12 kB / 0.9624 GB, free: 6.113 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 7.453e-05/0.1333, allocations: 168.5 kB / 0.9626 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.1333, allocations: 23.84 kB / 0.9626 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.1335, allocations: 82.78 kB / 0.9627 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1335, allocations: 7.938 kB / 0.9627 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1335, allocations: 0 / 0.9627 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1335, allocations: 4 kB / 0.9627 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.134, allocations: 0.9182 MB / 0.9636 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.134, allocations: 4 kB / 0.9636 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.1341, allocations: 19.98 kB / 0.9636 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1341, allocations: 0 / 0.9636 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1341, allocations: 11.94 kB / 0.9636 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1341, allocations: 0 / 0.9636 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1341, allocations: 4 kB / 0.9636 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1345, allocations: 310.4 kB / 0.9639 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1346, allocations: 27.84 kB / 0.9639 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1346, allocations: 4 kB / 0.9639 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.1346, allocations: 4 kB / 0.9639 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1347, allocations: 15.92 kB / 0.964 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1347, allocations: 4 kB / 0.964 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.345e-05/0.1347, allocations: 180.5 kB / 0.9641 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1347, allocations: 0 / 0.9641 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002247/0.135, allocations: 63.83 kB / 0.9642 GB, free: 4.156 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0001577/0.1351, allocations: 131.2 kB / 0.9643 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1353, allocations: 69.8 kB / 0.9644 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1353, allocations: 0 / 0.9644 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.1353, allocations: 35.61 kB / 0.9644 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1356, allocations: 67.86 kB / 0.9645 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.1363, allocations: 457.9 kB / 0.9649 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.25e-05/0.1363, allocations: 87.97 kB / 0.965 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.161e-05/0.1364, allocations: 37.45 kB / 0.965 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.1364, allocations: 24.48 kB / 0.9651 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.1364, allocations: 0 / 0.9651 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.004925/0.1414, allocations: 2.951 MB / 0.9679 GB, free: 316 kB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.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.462410517968237]