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.0008841/0.0008841, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009538/0.0009538, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9748/0.9748, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.986/1.986, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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 2.535e-06/2.535e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/3.97e-05, allocations: 8.922 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.145/0.145, allocations: 146.3 MB / 0.9544 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1473, allocations: 1.547 MB / 0.9559 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1475, allocations: 11.88 kB / 0.9559 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1479, allocations: 87.28 kB / 0.956 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008226/0.1487, allocations: 334.1 kB / 0.9563 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.1496, allocations: 490.3 kB / 0.9568 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.1503, allocations: 0.6978 MB / 0.9575 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.1506, allocations: 217.7 kB / 0.9577 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.1512, allocations: 375 kB / 0.9581 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1514, allocations: 199.4 kB / 0.9583 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.1515, allocations: 24 kB / 0.9583 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.152, allocations: 403 kB / 0.9587 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1521, allocations: 127.6 kB / 0.9588 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1523, allocations: 107.8 kB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.153, allocations: 0.5101 MB / 0.9594 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.153, allocations: 0 / 0.9594 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.153, allocations: 0 / 0.9594 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.153, allocations: 4 kB / 0.9594 GB, free: 9.848 MB / 0.9167 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.0008631/0.1538, allocations: 0.6786 MB / 0.96 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1539, allocations: 8.031 kB / 0.9601 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/0.1543, allocations: 128.3 kB / 0.9602 GB, free: 9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.1547, allocations: 264 kB / 0.9604 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1547, allocations: 16.88 kB / 0.9604 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.1548, allocations: 24.31 kB / 0.9605 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.1552, allocations: 274.4 kB / 0.9607 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1552, allocations: 0 / 0.9607 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1552, allocations: 16 kB / 0.9607 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1552, allocations: 4 kB / 0.9607 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.1555, allocations: 102.9 kB / 0.9608 GB, free: 8.262 MB / 0.9167 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.001197/0.1566, allocations: 1.007 MB / 0.9618 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.1572, allocations: 147.1 kB / 0.962 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1573, allocations: 47.67 kB / 0.962 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.1576, allocations: 71.92 kB / 0.9621 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1576, allocations: 45.33 kB / 0.9621 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.1576, allocations: 0 / 0.9621 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0005403/0.1581, allocations: 187.5 kB / 0.9623 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1582, allocations: 51.41 kB / 0.9624 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1584, allocations: 284.2 kB / 0.9626 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1584, allocations: 25.7 kB / 0.9627 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1585, allocations: 219.1 kB / 0.9629 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.1586, allocations: 71.36 kB / 0.9629 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.1587, allocations: 55.36 kB / 0.963 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1589, allocations: 0.5079 MB / 0.9635 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.1589, allocations: 27.98 kB / 0.9635 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1591, allocations: 178.9 kB / 0.9637 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.1593, allocations: 133.9 kB / 0.9638 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1593, allocations: 4 kB / 0.9638 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003318/0.1596, allocations: 174.2 kB / 0.964 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1597, allocations: 7.938 kB / 0.964 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1597, allocations: 0 / 0.964 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1597, allocations: 4.047 kB / 0.964 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.1599, allocations: 55.89 kB / 0.964 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1599, allocations: 4 kB / 0.964 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.16, allocations: 31.83 kB / 0.9641 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1601, allocations: 8 kB / 0.9641 GB, free: 4.727 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 0.0001121/0.1602, allocations: 168.7 kB / 0.9642 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1602, allocations: 31.73 kB / 0.9643 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.1605, allocations: 170.3 kB / 0.9644 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1605, allocations: 4 kB / 0.9644 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1605, allocations: 0 / 0.9644 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1606, allocations: 3.984 kB / 0.9644 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.1613, allocations: 0.6044 MB / 0.965 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1613, allocations: 4 kB / 0.965 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1615, allocations: 43.91 kB / 0.9651 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1615, allocations: 0 / 0.9651 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1615, allocations: 12.06 kB / 0.9651 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1615, allocations: 4 kB / 0.9651 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1615, allocations: 0 / 0.9651 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.1619, allocations: 385.7 kB / 0.9655 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.162, allocations: 51.98 kB / 0.9655 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.162, allocations: 4 kB / 0.9655 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1621, allocations: 11.98 kB / 0.9655 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.1622, allocations: 23.91 kB / 0.9655 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1622, allocations: 12 kB / 0.9656 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001091/0.1623, allocations: 189.1 kB / 0.9657 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1623, allocations: 0 / 0.9657 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003783/0.1627, allocations: 115.7 kB / 0.9658 GB, free: 2.785 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.0002745/0.163, allocations: 178.9 kB / 0.966 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1632, allocations: 113.8 kB / 0.9661 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1632, allocations: 0 / 0.9661 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1633, allocations: 67.53 kB / 0.9662 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.164, allocations: 112 kB / 0.9663 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1652, allocations: 0.5673 MB / 0.9669 GB, free: 1.684 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.091e-05/0.1652, allocations: 100.5 kB / 0.9669 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000172/0.1654, allocations: 53.89 kB / 0.967 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.1655, allocations: 24.5 kB / 0.967 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.1655, allocations: 3.938 kB / 0.967 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of Templates: time 0.01877/0.1843, allocations: 5.267 MB / 0.9722 GB, free: 12.36 MB / 0.9323 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.773392035160214]