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.001097/0.001097, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001781/0.001781, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.06/1.06, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.142/2.142, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 2.725e-06/2.725e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.217e-05/4.489e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1491/0.1492, allocations: 146.3 MB / 1.021 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1518, allocations: 1.53 MB / 1.023 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.1521, allocations: 15.88 kB / 1.023 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.1525, allocations: 75.41 kB / 1.023 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.1536, allocations: 330.1 kB / 1.023 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1549, allocations: 486.4 kB / 1.023 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008829/0.1558, allocations: 0.6783 MB / 1.024 GB, free: 388 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.1562, allocations: 192.8 kB / 1.024 GB, free: 200 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.157, allocations: 359.2 kB / 1.025 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.1574, allocations: 203.4 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.1574, allocations: 24 kB / 1.025 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/0.1582, allocations: 399 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1584, allocations: 123.6 kB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1585, allocations: 111.8 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008993/0.1594, allocations: 0.5062 MB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1594, allocations: 4 kB / 1.026 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1594, allocations: 0 / 1.026 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.1594, allocations: 0 / 1.026 GB, free: 14.48 MB / 0.9948 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.001002/0.1604, allocations: 0.6627 MB / 1.027 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1604, allocations: 8.031 kB / 1.027 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.161, allocations: 132.3 kB / 1.027 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.1614, allocations: 257.6 kB / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1614, allocations: 20.81 kB / 1.027 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.1615, allocations: 24.38 kB / 1.027 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.162, allocations: 282.4 kB / 1.027 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.162, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.162, allocations: 8 kB / 1.027 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.162, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.1622, allocations: 98.88 kB / 1.027 GB, free: 12.92 MB / 0.9948 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.001342/0.1636, allocations: 0.9995 MB / 1.028 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.164, allocations: 151.7 kB / 1.028 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/0.1641, allocations: 47.67 kB / 1.029 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.1644, allocations: 71.91 kB / 1.029 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1645, allocations: 45.39 kB / 1.029 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 2.405e-06/0.1645, allocations: 4 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0005042/0.165, allocations: 187 kB / 1.029 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.165, allocations: 55.41 kB / 1.029 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1652, allocations: 268.3 kB / 1.029 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1652, allocations: 29.7 kB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1653, allocations: 219 kB / 1.029 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1654, allocations: 71.39 kB / 1.029 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.1655, allocations: 51.36 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1656, allocations: 0.504 MB / 1.03 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.1657, allocations: 27.98 kB / 1.03 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1658, allocations: 182.8 kB / 1.03 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.166, allocations: 144.2 kB / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.166, allocations: 0 / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002934/0.1663, allocations: 173.3 kB / 1.03 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1663, allocations: 10.44 kB / 1.03 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1663, allocations: 0 / 1.03 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1663, allocations: 4 kB / 1.03 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1665, allocations: 48.06 kB / 1.031 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1665, allocations: 8 kB / 1.031 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1666, allocations: 27.88 kB / 1.031 GB, free: 9.406 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1667, allocations: 12 kB / 1.031 GB, free: 9.395 MB / 0.9948 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 0.0001032/0.1668, allocations: 164.5 kB / 1.031 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.1668, allocations: 31.8 kB / 1.031 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.1671, allocations: 173 kB / 1.031 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1671, allocations: 4 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1671, allocations: 0 / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1671, allocations: 0 / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.1679, allocations: 0.6006 MB / 1.032 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.168, allocations: 4 kB / 1.032 GB, free: 8.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1681, allocations: 51.84 kB / 1.032 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1681, allocations: 0 / 1.032 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.1681, allocations: 4 kB / 1.032 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1681, allocations: 8.188 kB / 1.032 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1681, allocations: 0 / 1.032 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.1686, allocations: 391.5 kB / 1.032 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.1687, allocations: 39.83 kB / 1.032 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1687, allocations: 12 kB / 1.032 GB, free: 7.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1689, allocations: 15.98 kB / 1.032 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.1689, allocations: 23.91 kB / 1.032 GB, free: 7.766 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.169, allocations: 8 kB / 1.032 GB, free: 7.758 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001055/0.1691, allocations: 185.1 kB / 1.032 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 4.031 kB / 1.032 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004268/0.1695, allocations: 115.7 kB / 1.032 GB, free: 7.461 MB / 0.9948 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.0003129/0.1698, allocations: 186.9 kB / 1.033 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1701, allocations: 108.1 kB / 1.033 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1701, allocations: 0 / 1.033 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1702, allocations: 72.44 kB / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.1707, allocations: 96.77 kB / 1.033 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1719, allocations: 0.5556 MB / 1.033 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.172, allocations: 100.5 kB / 1.033 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.1722, allocations: 53.89 kB / 1.033 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.1722, allocations: 24.5 kB / 1.034 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of SimCode: time 7.92e-07/0.1722, allocations: 0 / 1.034 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of Templates: time 0.009057/0.1813, allocations: 5.094 MB / 1.038 GB, free: 1.203 MB / 0.9948 GB " [Timeout remaining time 300] 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.017524216789752]