Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009353/0.0009353, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009608/0.0009608, allocations: 161 kB / 24.17 MB, free: 332 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.952/0.952, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.872/1.872, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.398e-05, allocations: 2.312 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1492/0.1492, allocations: 145.7 MB / 0.9023 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1514, allocations: 1.565 MB / 0.9038 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1516, allocations: 19.88 kB / 0.9039 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1519, allocations: 79.34 kB / 0.9039 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006416/0.1525, allocations: 334 kB / 0.9042 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.1532, allocations: 490.4 kB / 0.9047 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.1537, allocations: 0.6939 MB / 0.9054 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.154, allocations: 221.8 kB / 0.9056 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.1544, allocations: 375 kB / 0.906 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1545, allocations: 191.4 kB / 0.9061 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.1546, allocations: 24 kB / 0.9062 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.155, allocations: 391.1 kB / 0.9065 GB, free: 288 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.1551, allocations: 131.6 kB / 0.9067 GB, free: 156 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.1552, allocations: 107.8 kB / 0.9068 GB, free: 48 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.1557, allocations: 0.5101 MB / 0.9073 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1557, allocations: 0 / 0.9073 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1557, allocations: 0 / 0.9073 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1557, allocations: 0 / 0.9073 GB, free: 15.54 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005665/0.1562, allocations: 0.5421 MB / 0.9078 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1563, allocations: 12.03 kB / 0.9078 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.1566, allocations: 124.5 kB / 0.9079 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1569, allocations: 236.7 kB / 0.9082 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1569, allocations: 16.88 kB / 0.9082 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.1569, allocations: 28.33 kB / 0.9082 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1572, allocations: 264.7 kB / 0.9084 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1572, allocations: 4 kB / 0.9085 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1572, allocations: 8 kB / 0.9085 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1572, allocations: 8 kB / 0.9085 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1573, allocations: 78.22 kB / 0.9085 GB, free: 14.16 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.0007565/0.1581, allocations: 0.7563 MB / 0.9093 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1584, allocations: 160.1 kB / 0.9094 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.1584, allocations: 43.66 kB / 0.9095 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.1586, allocations: 63.94 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1586, allocations: 34.5 kB / 0.9096 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.1586, allocations: 0 / 0.9096 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00054/0.1592, allocations: 143.2 kB / 0.9097 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1592, allocations: 55.39 kB / 0.9098 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1593, allocations: 216.9 kB / 0.91 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1593, allocations: 33.7 kB / 0.91 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.1594, allocations: 156.8 kB / 0.9101 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1594, allocations: 67.36 kB / 0.9102 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.1595, allocations: 45.69 kB / 0.9103 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.1595, allocations: 334.8 kB / 0.9106 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.1596, allocations: 22.81 kB / 0.9106 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.569e-05/0.1597, allocations: 160.1 kB / 0.9107 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1598, allocations: 116.7 kB / 0.9109 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1598, allocations: 0 / 0.9109 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001364/0.1599, allocations: 126.8 kB / 0.911 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1599, allocations: 11.94 kB / 0.911 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1599, allocations: 0 / 0.911 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1599, allocations: 4 kB / 0.911 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1601, allocations: 51.91 kB / 0.911 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1601, allocations: 7.938 kB / 0.9111 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.593e-05/0.1601, allocations: 28.03 kB / 0.9111 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1602, allocations: 8 kB / 0.9111 GB, free: 11.37 MB / 0.8698 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 7.138e-05/0.1602, allocations: 124.6 kB / 0.9112 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1603, allocations: 19.97 kB / 0.9112 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.1604, allocations: 139.6 kB / 0.9114 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1604, allocations: 4 kB / 0.9114 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1604, allocations: 0 / 0.9114 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1604, allocations: 3.984 kB / 0.9114 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.1609, allocations: 497.9 kB / 0.9118 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1609, allocations: 4 kB / 0.9118 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.161, allocations: 35.97 kB / 0.9119 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.161, allocations: 4 kB / 0.9119 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.161, allocations: 8 kB / 0.9119 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.161, allocations: 0 / 0.9119 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.161, allocations: 8.125 kB / 0.9119 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1612, allocations: 341.1 kB / 0.9122 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1613, allocations: 31.78 kB / 0.9123 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1613, allocations: 8 kB / 0.9123 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1614, allocations: 15.98 kB / 0.9123 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1614, allocations: 19.91 kB / 0.9123 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1614, allocations: 11.94 kB / 0.9123 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.1615, allocations: 66.78 kB / 0.9124 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1615, allocations: 0 / 0.9124 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002308/0.1617, allocations: 123.6 kB / 0.9125 GB, free: 9.824 MB / 0.8698 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.0002103/0.1619, allocations: 156.2 kB / 0.9126 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1621, allocations: 100.6 kB / 0.9127 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1621, allocations: 0 / 0.9127 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.1621, allocations: 57.39 kB / 0.9128 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1624, allocations: 109 kB / 0.9129 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.1632, allocations: 0.5467 MB / 0.9134 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.1633, allocations: 100.5 kB / 0.9135 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.515e-05/0.1634, allocations: 37.92 kB / 0.9136 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.1636, allocations: 131.2 kB / 0.9137 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/0.1636, allocations: 0 / 0.9137 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.007252/0.1708, allocations: 5.638 MB / 0.9192 GB, free: 3.008 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.239972373936325]