Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.0009829/0.0009829, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009817/0.0009817, allocations: 169 kB / 24.28 MB, free: 276 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.964/0.964, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.807/1.807, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.467e-05/3.723e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1564/0.1565, allocations: 161.4 MB / 0.9448 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1585, allocations: 1.548 MB / 0.9463 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1587, allocations: 11.88 kB / 0.9463 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1591, allocations: 150.9 kB / 0.9464 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.1599, allocations: 485.3 kB / 0.9469 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.161, allocations: 0.7899 MB / 0.9477 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.1616, allocations: 0.7095 MB / 0.9484 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.1618, allocations: 207.2 kB / 0.9486 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004285/0.1623, allocations: 398.9 kB / 0.949 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1626, allocations: 215.3 kB / 0.9492 GB, free: 6.328 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.1626, allocations: 24 kB / 0.9492 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.1634, allocations: 0.7516 MB / 0.9499 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1635, allocations: 131.6 kB / 0.95 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.1636, allocations: 111.8 kB / 0.9501 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.1643, allocations: 0.6854 MB / 0.9508 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1643, allocations: 8 kB / 0.9508 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1643, allocations: 0 / 0.9508 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.1643, allocations: 0 / 0.9508 GB, free: 4.617 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006982/0.165, allocations: 0.6934 MB / 0.9515 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.165, allocations: 12.02 kB / 0.9515 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.1654, allocations: 139.3 kB / 0.9516 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1657, allocations: 259.5 kB / 0.9519 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1657, allocations: 16.5 kB / 0.9519 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1658, allocations: 23.94 kB / 0.9519 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.1661, allocations: 274.5 kB / 0.9522 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1661, allocations: 0 / 0.9522 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1661, allocations: 12 kB / 0.9522 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1661, allocations: 4 kB / 0.9522 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1663, allocations: 102.9 kB / 0.9523 GB, free: 3.004 MB / 0.9011 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.001097/0.1674, allocations: 1.011 MB / 0.9533 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.1679, allocations: 143.1 kB / 0.9534 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.1679, allocations: 55.61 kB / 0.9535 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.1682, allocations: 87.91 kB / 0.9536 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1683, allocations: 33.39 kB / 0.9536 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=19): time 2.214e-06/0.1683, allocations: 0 / 0.9536 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.000507/0.1688, allocations: 190.2 kB / 0.9538 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1688, allocations: 55.41 kB / 0.9538 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.169, allocations: 276.3 kB / 0.9541 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.169, allocations: 33.7 kB / 0.9541 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1691, allocations: 211.1 kB / 0.9543 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.1692, allocations: 79.31 kB / 0.9544 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1692, allocations: 47.36 kB / 0.9545 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1693, allocations: 0.5079 MB / 0.9549 GB, free: 160 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.1694, allocations: 31.97 kB / 0.955 GB, free: 128 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1695, allocations: 177.7 kB / 0.9551 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1697, allocations: 139.4 kB / 0.9553 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1697, allocations: 0 / 0.9553 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000217/0.1699, allocations: 171.9 kB / 0.9554 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1699, allocations: 11.98 kB / 0.9555 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1699, allocations: 0 / 0.9555 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1699, allocations: 4 kB / 0.9555 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1701, allocations: 43.92 kB / 0.9555 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1701, allocations: 8.141 kB / 0.9555 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.1702, allocations: 23.89 kB / 0.9555 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1702, allocations: 15.92 kB / 0.9555 GB, free: 15.47 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 8.955e-05/0.1703, allocations: 168.5 kB / 0.9557 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.1703, allocations: 35.8 kB / 0.9557 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1706, allocations: 163.7 kB / 0.9559 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1706, allocations: 64 / 0.9559 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1706, allocations: 4 kB / 0.9559 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1706, allocations: 4 kB / 0.9559 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000787/0.1714, allocations: 0.6084 MB / 0.9565 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1714, allocations: 4 kB / 0.9565 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1715, allocations: 47.91 kB / 0.9565 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1715, allocations: 3.938 kB / 0.9566 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1715, allocations: 4 kB / 0.9566 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1715, allocations: 4 kB / 0.9566 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1715, allocations: 4.188 kB / 0.9566 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.1718, allocations: 395.5 kB / 0.9569 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1719, allocations: 47.77 kB / 0.957 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1719, allocations: 7.938 kB / 0.957 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.172, allocations: 12 kB / 0.957 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.1721, allocations: 23.95 kB / 0.957 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1721, allocations: 8 kB / 0.957 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.625e-05/0.1722, allocations: 189.1 kB / 0.9572 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1722, allocations: 0 / 0.9572 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002758/0.1724, allocations: 119.7 kB / 0.9573 GB, free: 13.51 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0003243/0.1728, allocations: 191 kB / 0.9575 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.173, allocations: 115.5 kB / 0.9576 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.173, allocations: 3.938 kB / 0.9576 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.1731, allocations: 68.09 kB / 0.9577 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1735, allocations: 116.4 kB / 0.9578 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.1745, allocations: 0.5614 MB / 0.9584 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.717e-05/0.1745, allocations: 108.3 kB / 0.9585 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.1747, allocations: 53.89 kB / 0.9585 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1747, allocations: 24.5 kB / 0.9585 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of SimCode: time 9.11e-07/0.1747, allocations: 0 / 0.9585 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of Templates: time 0.007496/0.1822, allocations: 5.518 MB / 0.9639 GB, free: 6.801 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.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.496408759150654]