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.00102/0.00102, 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.001004/0.001004, allocations: 161 kB / 23.81 MB, free: 0.7578 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.849/1.849, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.733e-06/1.733e-06, allocations: 0 / 0.8115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.739e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1345/0.1345, allocations: 147.4 MB / 0.9555 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1371, allocations: 1.802 MB / 0.9573 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.1375, allocations: 27.81 kB / 0.9573 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1379, allocations: 119 kB / 0.9574 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1391, allocations: 0.5671 MB / 0.958 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1403, allocations: 0.5222 MB / 0.9585 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1413, allocations: 1.06 MB / 0.9595 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.1419, allocations: 338.1 kB / 0.9598 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.1432, allocations: 0.6759 MB / 0.9605 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.1436, allocations: 383 kB / 0.9609 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.1437, allocations: 40 kB / 0.9609 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.1442, allocations: 347.2 kB / 0.9612 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1444, allocations: 171.4 kB / 0.9614 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1445, allocations: 167.6 kB / 0.9616 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.1453, allocations: 0.5723 MB / 0.9621 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1453, allocations: 3.938 kB / 0.9621 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1453, allocations: 4 kB / 0.9621 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1453, allocations: 0 / 0.9621 GB, free: 5.918 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008228/0.1461, allocations: 0.7875 MB / 0.9629 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1462, allocations: 12.03 kB / 0.9629 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006238/0.1468, allocations: 216.1 kB / 0.9631 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1472, allocations: 350.9 kB / 0.9634 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1472, allocations: 29.12 kB / 0.9635 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.1473, allocations: 43.95 kB / 0.9635 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.1477, allocations: 362.9 kB / 0.9639 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1478, allocations: 0 / 0.9639 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.1478, allocations: 16 kB / 0.9639 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1478, allocations: 12 kB / 0.9639 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.148, allocations: 153.8 kB / 0.964 GB, free: 3.863 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.001418/0.1494, allocations: 1.673 MB / 0.9657 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1497, allocations: 137.9 kB / 0.9658 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.1498, allocations: 71.59 kB / 0.9659 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.15, allocations: 51.94 kB / 0.9659 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.15, allocations: 41.39 kB / 0.966 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.15, allocations: 0 / 0.966 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24): time 0.0005239/0.1505, allocations: 249.5 kB / 0.9662 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1506, allocations: 55.41 kB / 0.9662 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1508, allocations: 326.2 kB / 0.9666 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1508, allocations: 33.7 kB / 0.9666 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1509, allocations: 294.9 kB / 0.9669 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.151, allocations: 91.22 kB / 0.967 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.1511, allocations: 55.36 kB / 0.967 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1512, allocations: 0.5195 MB / 0.9675 GB, free: 140 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.1513, allocations: 43.97 kB / 0.9676 GB, free: 96 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1515, allocations: 203.6 kB / 0.9678 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1517, allocations: 183.2 kB / 0.9679 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1517, allocations: 0 / 0.9679 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002744/0.1519, allocations: 235.9 kB / 0.9682 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.152, allocations: 4 kB / 0.9682 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.152, allocations: 4 kB / 0.9682 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.152, allocations: 0 / 0.9682 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1521, allocations: 59.84 kB / 0.9682 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1521, allocations: 7.938 kB / 0.9682 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.1522, allocations: 23.88 kB / 0.9683 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.1523, allocations: 16.22 kB / 0.9683 GB, free: 15.29 MB / 0.8855 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 0.0001053/0.1524, allocations: 172.5 kB / 0.9684 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.1524, allocations: 43.77 kB / 0.9685 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.1529, allocations: 220.7 kB / 0.9687 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1529, allocations: 4 kB / 0.9687 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1529, allocations: 0 / 0.9687 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1529, allocations: 3.938 kB / 0.9687 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.1536, allocations: 0.7056 MB / 0.9694 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1536, allocations: 3.938 kB / 0.9694 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1537, allocations: 43.97 kB / 0.9694 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1537, allocations: 4 kB / 0.9694 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1537, allocations: 8 kB / 0.9694 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1537, allocations: 7.938 kB / 0.9694 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1537, allocations: 0 / 0.9694 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.1542, allocations: 455.4 kB / 0.9699 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.1543, allocations: 59.94 kB / 0.9699 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.1543, allocations: 8 kB / 0.9699 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.1544, allocations: 11.98 kB / 0.97 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.1544, allocations: 24 kB / 0.97 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1545, allocations: 8 kB / 0.97 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001379/0.1546, allocations: 222.9 kB / 0.9702 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1546, allocations: 0 / 0.9702 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003593/0.1549, allocations: 127.7 kB / 0.9703 GB, free: 13.04 MB / 0.8855 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.0002335/0.1552, allocations: 139.1 kB / 0.9705 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1555, allocations: 151.8 kB / 0.9706 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1555, allocations: 0 / 0.9706 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.1556, allocations: 83.52 kB / 0.9707 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1561, allocations: 136.1 kB / 0.9708 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1576, allocations: 0.7434 MB / 0.9715 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.1577, allocations: 116.6 kB / 0.9716 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.1579, allocations: 74.91 kB / 0.9717 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.158, allocations: 28.5 kB / 0.9717 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.614e-06/0.158, allocations: 0 / 0.9717 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.009293/0.1673, allocations: 5.769 MB / 0.9774 GB, free: 5.879 MB / 0.8855 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.356196326203644]