Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001197/0.001197, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001356/0.001356, allocations: 173 kB / 23.49 MB, free: 1.062 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.9904/0.9904, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.134/2.134, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.131e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1473/0.1473, allocations: 161.5 MB / 1.036 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1496, allocations: 1.511 MB / 1.037 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.1498, allocations: 15.88 kB / 1.037 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.1503, allocations: 154.8 kB / 1.038 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009918/0.1513, allocations: 477.5 kB / 1.038 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1527, allocations: 0.7821 MB / 1.039 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006228/0.1533, allocations: 0.6783 MB / 1.039 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.1536, allocations: 187.2 kB / 1.04 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/0.1544, allocations: 0.549 MB / 1.04 GB, free: 284 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1546, allocations: 199.4 kB / 1.04 GB, free: 84 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1546, allocations: 27.98 kB / 1.04 GB, free: 56 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1558, allocations: 0.7478 MB / 1.041 GB, free: 15.3 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1559, allocations: 115.7 kB / 1.041 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.156, allocations: 115.7 kB / 1.041 GB, free: 15.08 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.1569, allocations: 0.6854 MB / 1.042 GB, free: 14.39 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1569, allocations: 0 / 1.042 GB, free: 14.39 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1569, allocations: 0 / 1.042 GB, free: 14.39 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.1569, allocations: 4 kB / 1.042 GB, free: 14.39 MB / 1.01 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.0007647/0.1576, allocations: 0.6896 MB / 1.043 GB, free: 13.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1577, allocations: 12.03 kB / 1.043 GB, free: 13.65 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.1581, allocations: 135.3 kB / 1.043 GB, free: 13.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1585, allocations: 253.1 kB / 1.043 GB, free: 13.24 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1585, allocations: 16.5 kB / 1.043 GB, free: 13.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.1585, allocations: 27.94 kB / 1.043 GB, free: 13.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.1589, allocations: 278.5 kB / 1.043 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1589, allocations: 0 / 1.043 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1589, allocations: 12 kB / 1.043 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1589, allocations: 4 kB / 1.043 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.1591, allocations: 98.88 kB / 1.043 GB, free: 12.79 MB / 1.01 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.001049/0.1602, allocations: 0.9993 MB / 1.044 GB, free: 11.74 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1605, allocations: 143.1 kB / 1.045 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.1606, allocations: 51.66 kB / 1.045 GB, free: 11.53 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.1609, allocations: 75.92 kB / 1.045 GB, free: 11.46 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1609, allocations: 41.39 kB / 1.045 GB, free: 11.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.694e-06/0.1609, allocations: 0 / 1.045 GB, free: 11.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0004758/0.1614, allocations: 196 kB / 1.045 GB, free: 11.21 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1615, allocations: 55.36 kB / 1.045 GB, free: 11.14 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1617, allocations: 268.3 kB / 1.045 GB, free: 10.87 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1617, allocations: 33.7 kB / 1.045 GB, free: 10.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1618, allocations: 223.1 kB / 1.045 GB, free: 10.61 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.1619, allocations: 67.38 kB / 1.046 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.1619, allocations: 59.25 kB / 1.046 GB, free: 10.47 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1621, allocations: 0.5078 MB / 1.046 GB, free: 9.953 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.1621, allocations: 23.98 kB / 1.046 GB, free: 9.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1623, allocations: 185.8 kB / 1.046 GB, free: 9.703 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1624, allocations: 139.5 kB / 1.046 GB, free: 9.543 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1624, allocations: 0 / 1.046 GB, free: 9.543 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002299/0.1626, allocations: 173.3 kB / 1.047 GB, free: 9.367 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1627, allocations: 8 kB / 1.047 GB, free: 9.359 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1627, allocations: 0 / 1.047 GB, free: 9.359 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1627, allocations: 4 kB / 1.047 GB, free: 9.355 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1628, allocations: 51.91 kB / 1.047 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1628, allocations: 4.156 kB / 1.047 GB, free: 9.301 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.1629, allocations: 23.95 kB / 1.047 GB, free: 9.277 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1629, allocations: 19.92 kB / 1.047 GB, free: 9.258 MB / 1.01 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 9.79e-05/0.163, allocations: 168.5 kB / 1.047 GB, free: 9.082 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.1631, allocations: 27.86 kB / 1.047 GB, free: 9.055 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1633, allocations: 165.8 kB / 1.047 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1634, allocations: 4 kB / 1.047 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1634, allocations: 0 / 1.047 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1634, allocations: 0 / 1.047 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.1641, allocations: 0.6084 MB / 1.048 GB, free: 8.211 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1641, allocations: 0 / 1.048 GB, free: 8.211 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1643, allocations: 47.91 kB / 1.048 GB, free: 8.164 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.1643, allocations: 7.938 kB / 1.048 GB, free: 8.156 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1643, allocations: 4 kB / 1.048 GB, free: 8.152 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1643, allocations: 0 / 1.048 GB, free: 8.152 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1643, allocations: 8.188 kB / 1.048 GB, free: 8.145 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1646, allocations: 381.8 kB / 1.048 GB, free: 7.727 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.1647, allocations: 47.77 kB / 1.048 GB, free: 7.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1647, allocations: 7.938 kB / 1.048 GB, free: 7.672 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.1648, allocations: 12 kB / 1.048 GB, free: 7.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.1649, allocations: 19.95 kB / 1.048 GB, free: 7.641 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1649, allocations: 8 kB / 1.048 GB, free: 7.633 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.165, allocations: 193.1 kB / 1.048 GB, free: 7.445 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.165, allocations: 0 / 1.048 GB, free: 7.445 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000322/0.1653, allocations: 119.7 kB / 1.048 GB, free: 7.328 MB / 1.01 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.0003044/0.1656, allocations: 198.9 kB / 1.049 GB, free: 7.121 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1658, allocations: 109.1 kB / 1.049 GB, free: 7.012 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1658, allocations: 4 kB / 1.049 GB, free: 7.008 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.1659, allocations: 64.09 kB / 1.049 GB, free: 6.941 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1664, allocations: 118.3 kB / 1.049 GB, free: 6.824 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1674, allocations: 0.5478 MB / 1.049 GB, free: 6.219 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.1675, allocations: 100.5 kB / 1.05 GB, free: 6.102 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000138/0.1676, allocations: 57.89 kB / 1.05 GB, free: 6.043 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.1677, allocations: 28.5 kB / 1.05 GB, free: 6.016 MB / 1.01 GB Notification: Performance of SimCode: time 1.233e-06/0.1677, allocations: 0 / 1.05 GB, free: 6.016 MB / 1.01 GB Notification: Performance of Templates: time 0.0077/0.1754, allocations: 5.351 MB / 1.055 GB, free: 0.7852 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.274534226860851]