Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0009531/0.0009531, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009849/0.0009849, allocations: 181 kB / 24.09 MB, free: 420 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 0.946/0.946, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.5469 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.438e-05, allocations: 6.25 kB / 0.812 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.135/0.135, allocations: 144.7 MB / 0.9533 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1378, allocations: 1.808 MB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.1382, allocations: 27.75 kB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1385, allocations: 123 kB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.1397, allocations: 0.5593 MB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.1407, allocations: 0.5261 MB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009606/0.1416, allocations: 1.064 MB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.142, allocations: 334.1 kB / 0.9576 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.1433, allocations: 0.6572 MB / 0.9583 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.1438, allocations: 390.9 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.1439, allocations: 36 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.1445, allocations: 351.1 kB / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1447, allocations: 171.5 kB / 0.9592 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1448, allocations: 167.6 kB / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008441/0.1456, allocations: 0.5761 MB / 0.9599 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1457, allocations: 3.984 kB / 0.9599 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1457, allocations: 0 / 0.9599 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.1457, allocations: 0 / 0.9599 GB, free: 9.512 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000835/0.1465, allocations: 0.7955 MB / 0.9607 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1465, allocations: 15.97 kB / 0.9607 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.1471, allocations: 204.2 kB / 0.9609 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.1475, allocations: 354.8 kB / 0.9612 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1475, allocations: 33.12 kB / 0.9613 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.1476, allocations: 36 kB / 0.9613 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.1479, allocations: 342.9 kB / 0.9616 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1479, allocations: 4 kB / 0.9616 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.148, allocations: 16 kB / 0.9617 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.148, allocations: 12 kB / 0.9617 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1481, allocations: 118.8 kB / 0.9618 GB, free: 7.5 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.001144/0.1492, allocations: 1.599 MB / 0.9633 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1494, allocations: 138.9 kB / 0.9635 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1495, allocations: 49.5 kB / 0.9635 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.1496, allocations: 59.88 kB / 0.9636 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1497, allocations: 41.39 kB / 0.9636 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.1497, allocations: 3.938 kB / 0.9636 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.0003437/0.15, allocations: 216.5 kB / 0.9638 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.15, allocations: 55.41 kB / 0.9639 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1502, allocations: 326.1 kB / 0.9642 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1502, allocations: 29.7 kB / 0.9642 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1503, allocations: 298.9 kB / 0.9645 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.1504, allocations: 83.25 kB / 0.9646 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.1505, allocations: 63.3 kB / 0.9646 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1506, allocations: 0.5234 MB / 0.9652 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.1506, allocations: 35.95 kB / 0.9652 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1507, allocations: 199.5 kB / 0.9654 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1509, allocations: 169.2 kB / 0.9655 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1509, allocations: 0 / 0.9655 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002123/0.1511, allocations: 203.4 kB / 0.9657 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1511, allocations: 4 kB / 0.9657 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1511, allocations: 4 kB / 0.9657 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1511, allocations: 4 kB / 0.9657 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1513, allocations: 64.12 kB / 0.9658 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.1513, allocations: 0 / 0.9658 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.1514, allocations: 31.72 kB / 0.9658 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.1514, allocations: 19.98 kB / 0.9659 GB, free: 3.082 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 (31): * Single equations (assignments): 31 * 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.41e-05/0.1515, allocations: 164.6 kB / 0.966 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.1515, allocations: 39.75 kB / 0.9661 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.1517, allocations: 200.7 kB / 0.9662 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1517, allocations: 3.984 kB / 0.9662 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.1517, allocations: 0 / 0.9662 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1517, allocations: 8 kB / 0.9663 GB, free: 2.652 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.1523, allocations: 0.6266 MB / 0.9669 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1523, allocations: 0 / 0.9669 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1524, allocations: 43.92 kB / 0.9669 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1524, allocations: 4 kB / 0.9669 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1524, allocations: 11.94 kB / 0.9669 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1524, allocations: 4.219 kB / 0.9669 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1524, allocations: 11.92 kB / 0.9669 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1527, allocations: 418.8 kB / 0.9673 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.1528, allocations: 59.66 kB / 0.9674 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1528, allocations: 15.92 kB / 0.9674 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.1529, allocations: 4 kB / 0.9674 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1529, allocations: 19.97 kB / 0.9674 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.153, allocations: 4 kB / 0.9674 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.855e-05/0.153, allocations: 218.9 kB / 0.9676 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.153, allocations: 0 / 0.9676 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002802/0.1533, allocations: 123.8 kB / 0.9678 GB, free: 1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0001712/0.1535, allocations: 147 kB / 0.9679 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1537, allocations: 137.9 kB / 0.968 GB, free: 0.707 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1537, allocations: 0 / 0.968 GB, free: 0.707 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.1537, allocations: 80.09 kB / 0.9681 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1542, allocations: 134.1 kB / 0.9682 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/0.1551, allocations: 0.734 MB / 0.969 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.836e-05/0.1551, allocations: 116.5 kB / 0.9691 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.1553, allocations: 54.94 kB / 0.9691 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.1555, allocations: 178.1 kB / 0.9693 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of SimCode: time 7.92e-07/0.1555, allocations: 8 kB / 0.9693 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of Templates: time 0.007675/0.1631, allocations: 5.877 MB / 0.975 GB, free: 9.613 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.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.244043067097664]