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.0009926/0.0009926, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001049/0.001049, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.254 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 2.058/2.058, 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.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 2.144e-06/2.144e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.304e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1469/0.147, allocations: 147.4 MB / 0.9555 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1497, allocations: 1.815 MB / 0.9573 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.15, allocations: 23.81 kB / 0.9573 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.1504, allocations: 119 kB / 0.9574 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1515, allocations: 0.5593 MB / 0.958 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1526, allocations: 0.5377 MB / 0.9585 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008739/0.1535, allocations: 1.056 MB / 0.9595 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.1539, allocations: 338 kB / 0.9598 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1552, allocations: 0.6538 MB / 0.9605 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.1556, allocations: 390.9 kB / 0.9609 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.1556, allocations: 36 kB / 0.9609 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005741/0.1562, allocations: 351.1 kB / 0.9612 GB, free: 8 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1563, allocations: 171.5 kB / 0.9614 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1565, allocations: 171.5 kB / 0.9616 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.1572, allocations: 0.5723 MB / 0.9621 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1572, allocations: 4 kB / 0.9621 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.355e-06/0.1572, allocations: 0 / 0.9621 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.1572, allocations: 0 / 0.9621 GB, free: 7.09 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.0008579/0.1581, allocations: 0.7995 MB / 0.9629 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1581, allocations: 8.031 kB / 0.9629 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.1588, allocations: 208.2 kB / 0.9631 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.1592, allocations: 363.8 kB / 0.9634 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.1593, allocations: 33.12 kB / 0.9635 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1593, allocations: 36 kB / 0.9635 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.1598, allocations: 366.9 kB / 0.9639 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1598, allocations: 0 / 0.9639 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1598, allocations: 16 kB / 0.9639 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1598, allocations: 12 kB / 0.9639 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.1601, allocations: 149.8 kB / 0.964 GB, free: 5.027 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.001596/0.1617, allocations: 1.68 MB / 0.9657 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1619, allocations: 139 kB / 0.9658 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.162, allocations: 67.59 kB / 0.9659 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.1623, allocations: 59.94 kB / 0.9659 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.1624, allocations: 37.33 kB / 0.966 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 3.126e-06/0.1624, allocations: 0 / 0.966 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.0005178/0.1629, allocations: 244.3 kB / 0.9662 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1629, allocations: 51.41 kB / 0.9662 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1632, allocations: 338.2 kB / 0.9666 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1632, allocations: 25.7 kB / 0.9666 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1633, allocations: 291 kB / 0.9669 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.1634, allocations: 87.27 kB / 0.967 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.1635, allocations: 63.31 kB / 0.967 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.1636, allocations: 0.5196 MB / 0.9675 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.1637, allocations: 39.97 kB / 0.9676 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1639, allocations: 207.6 kB / 0.9678 GB, free: 0.9961 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1641, allocations: 177.3 kB / 0.9679 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1641, allocations: 8 kB / 0.9679 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003003/0.1644, allocations: 228 kB / 0.9682 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1644, allocations: 8 kB / 0.9682 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1644, allocations: 0 / 0.9682 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.1645, allocations: 4 kB / 0.9682 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.1647, allocations: 55.91 kB / 0.9682 GB, free: 500 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1647, allocations: 11.88 kB / 0.9682 GB, free: 488 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1648, allocations: 28.06 kB / 0.9683 GB, free: 460 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.1648, allocations: 16.03 kB / 0.9683 GB, free: 444 kB / 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 0.0001101/0.1649, allocations: 168.5 kB / 0.9684 GB, free: 264 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.1649, allocations: 43.8 kB / 0.9685 GB, free: 220 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.1653, allocations: 220.7 kB / 0.9687 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1653, allocations: 7.938 kB / 0.9687 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1653, allocations: 0 / 0.9687 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1654, allocations: 3.938 kB / 0.9687 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007303/0.1661, allocations: 0.7004 MB / 0.9694 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1661, allocations: 7.938 kB / 0.9694 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1662, allocations: 47.91 kB / 0.9694 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1662, allocations: 0 / 0.9694 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1662, allocations: 11.94 kB / 0.9694 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1662, allocations: 7.938 kB / 0.9695 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1663, allocations: 4 kB / 0.9695 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.1667, allocations: 464.6 kB / 0.9699 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.1667, allocations: 51.72 kB / 0.9699 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1668, allocations: 8 kB / 0.97 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.1669, allocations: 8 kB / 0.97 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.1669, allocations: 23.95 kB / 0.97 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1669, allocations: 8 kB / 0.97 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001437/0.1671, allocations: 222.9 kB / 0.9702 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1671, allocations: 0 / 0.9702 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004226/0.1675, allocations: 127.7 kB / 0.9703 GB, free: 14.19 MB / 0.9323 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.0002863/0.1678, allocations: 135.1 kB / 0.9705 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.1682, allocations: 147.9 kB / 0.9706 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1682, allocations: 0 / 0.9706 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1683, allocations: 91.44 kB / 0.9707 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.169, allocations: 132.7 kB / 0.9708 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1706, allocations: 0.7496 MB / 0.9715 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.1707, allocations: 116.5 kB / 0.9717 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.1709, allocations: 66.92 kB / 0.9717 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1711, allocations: 40.48 kB / 0.9718 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of SimCode: time 8.92e-07/0.1711, allocations: 0 / 0.9718 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of Templates: time 0.01127/0.1823, allocations: 5.316 MB / 0.9769 GB, free: 7.465 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.934932922013104]