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.001005/0.001005, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001213/0.001213, allocations: 169.3 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 1.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.602 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 1.967/1.967, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.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.633e-06/1.633e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.59e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1398/0.1398, allocations: 161.5 MB / 0.9692 GB, free: 44 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1425, allocations: 1.556 MB / 0.9707 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.1428, allocations: 15.88 kB / 0.9708 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.1432, allocations: 146.9 kB / 0.9709 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.1443, allocations: 485.5 kB / 0.9714 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1459, allocations: 0.7898 MB / 0.9721 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.1466, allocations: 0.7055 MB / 0.9728 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.147, allocations: 215.3 kB / 0.973 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.148, allocations: 0.5491 MB / 0.9736 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1483, allocations: 207.3 kB / 0.9738 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.1483, allocations: 28 kB / 0.9738 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1495, allocations: 0.7439 MB / 0.9745 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1496, allocations: 123.6 kB / 0.9746 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1497, allocations: 111.8 kB / 0.9747 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.1506, allocations: 0.6931 MB / 0.9754 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1506, allocations: 0 / 0.9754 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1506, allocations: 0 / 0.9754 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1506, allocations: 0 / 0.9754 GB, free: 9.68 MB / 0.9323 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.0008045/0.1514, allocations: 0.6896 MB / 0.9761 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1515, allocations: 15.97 kB / 0.9761 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.1519, allocations: 139.3 kB / 0.9762 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1523, allocations: 263.4 kB / 0.9765 GB, free: 8.52 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1523, allocations: 16.5 kB / 0.9765 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1523, allocations: 24 kB / 0.9765 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.1527, allocations: 270.5 kB / 0.9768 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1527, allocations: 0 / 0.9768 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1527, allocations: 12 kB / 0.9768 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1527, allocations: 4 kB / 0.9768 GB, free: 8.176 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1529, allocations: 102.9 kB / 0.9769 GB, free: 8.07 MB / 0.9323 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.001043/0.154, allocations: 1.003 MB / 0.9779 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.1544, allocations: 155 kB / 0.978 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.1544, allocations: 51.66 kB / 0.9781 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.1547, allocations: 75.92 kB / 0.9782 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1547, allocations: 37.39 kB / 0.9782 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 2.234e-06/0.1547, allocations: 4 kB / 0.9782 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0004459/0.1552, allocations: 187.8 kB / 0.9784 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1552, allocations: 55.41 kB / 0.9784 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1554, allocations: 272.3 kB / 0.9787 GB, free: 6.137 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1554, allocations: 29.7 kB / 0.9787 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1555, allocations: 219 kB / 0.9789 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1556, allocations: 75.33 kB / 0.979 GB, free: 5.809 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.1556, allocations: 51.36 kB / 0.979 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1558, allocations: 0.5078 MB / 0.9795 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.1559, allocations: 31.92 kB / 0.9796 GB, free: 5.199 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.156, allocations: 178.9 kB / 0.9797 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1562, allocations: 134 kB / 0.9799 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1562, allocations: 0 / 0.9799 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002404/0.1564, allocations: 176 kB / 0.98 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1565, allocations: 14.66 kB / 0.98 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1565, allocations: 4 kB / 0.9801 GB, free: 4.629 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.1565, allocations: 4 kB / 0.9801 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1566, allocations: 51.91 kB / 0.9801 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1566, allocations: 0 / 0.9801 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/0.1567, allocations: 27.88 kB / 0.9801 GB, free: 4.547 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1567, allocations: 11.94 kB / 0.9801 GB, free: 4.535 MB / 0.9323 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.662e-05/0.1568, allocations: 168.5 kB / 0.9803 GB, free: 4.359 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1569, allocations: 31.86 kB / 0.9803 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1571, allocations: 163.7 kB / 0.9805 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1571, allocations: 4 kB / 0.9805 GB, free: 4.164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1571, allocations: 0 / 0.9805 GB, free: 4.164 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1572, allocations: 3.984 kB / 0.9805 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.1579, allocations: 0.6084 MB / 0.9811 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1579, allocations: 4.188 kB / 0.9811 GB, free: 3.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.158, allocations: 43.91 kB / 0.9811 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.158, allocations: 7.938 kB / 0.9811 GB, free: 3.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.158, allocations: 8 kB / 0.9812 GB, free: 3.422 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.158, allocations: 0 / 0.9812 GB, free: 3.422 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.158, allocations: 4 kB / 0.9812 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.1584, allocations: 390.6 kB / 0.9815 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.1585, allocations: 43.77 kB / 0.9816 GB, free: 2.949 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1585, allocations: 11.94 kB / 0.9816 GB, free: 2.938 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.1586, allocations: 16.02 kB / 0.9816 GB, free: 2.922 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.1587, allocations: 23.91 kB / 0.9816 GB, free: 2.898 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1587, allocations: 8 kB / 0.9816 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.827e-05/0.1588, allocations: 189.1 kB / 0.9818 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1588, allocations: 0 / 0.9818 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003451/0.1591, allocations: 119.6 kB / 0.9819 GB, free: 2.59 MB / 0.9323 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.000322/0.1594, allocations: 187.1 kB / 0.9821 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1597, allocations: 121.5 kB / 0.9822 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1597, allocations: 0 / 0.9822 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.1598, allocations: 67.53 kB / 0.9823 GB, free: 2.203 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1602, allocations: 116.9 kB / 0.9824 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1613, allocations: 0.5556 MB / 0.9829 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.1614, allocations: 108.1 kB / 0.983 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.1615, allocations: 53.89 kB / 0.9831 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.1616, allocations: 36.48 kB / 0.9831 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/0.1616, allocations: 0 / 0.9831 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of Templates: time 0.008913/0.1705, allocations: 5.522 MB / 0.9885 GB, free: 11.87 MB / 0.948 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.657149000093341]