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.001408/0.001408, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001775/0.001775, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9244/0.9244, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.393/2.393, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.563e-06/1.563e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.479e-05, allocations: 10.19 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1429/0.1429, allocations: 145.7 MB / 0.9809 GB, free: 11.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1447, allocations: 1.542 MB / 0.9824 GB, free: 10.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1448, allocations: 15.88 kB / 0.9824 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1451, allocations: 75.34 kB / 0.9824 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.1458, allocations: 334.1 kB / 0.9828 GB, free: 10.02 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.1465, allocations: 482.4 kB / 0.9832 GB, free: 9.543 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.147, allocations: 0.6705 MB / 0.9839 GB, free: 8.871 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.1472, allocations: 201.8 kB / 0.9841 GB, free: 8.676 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1476, allocations: 367.1 kB / 0.9844 GB, free: 8.316 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1478, allocations: 199.4 kB / 0.9846 GB, free: 8.121 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.1478, allocations: 24 kB / 0.9846 GB, free: 8.098 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.1483, allocations: 391.1 kB / 0.985 GB, free: 7.715 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.1484, allocations: 119.6 kB / 0.9851 GB, free: 7.598 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.1484, allocations: 111.8 kB / 0.9852 GB, free: 7.488 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.149, allocations: 0.5063 MB / 0.9857 GB, free: 6.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.149, allocations: 0 / 0.9857 GB, free: 6.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.149, allocations: 0 / 0.9857 GB, free: 6.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.149, allocations: 3.938 kB / 0.9857 GB, free: 6.977 MB / 0.948 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.0006128/0.1496, allocations: 0.5302 MB / 0.9862 GB, free: 6.422 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1496, allocations: 8.031 kB / 0.9862 GB, free: 6.414 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.15, allocations: 132.5 kB / 0.9864 GB, free: 6.285 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1502, allocations: 222.3 kB / 0.9866 GB, free: 6.043 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1502, allocations: 20.88 kB / 0.9866 GB, free: 6.023 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.1503, allocations: 24.38 kB / 0.9866 GB, free: 6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1505, allocations: 264.7 kB / 0.9869 GB, free: 5.715 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1506, allocations: 0 / 0.9869 GB, free: 5.715 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1506, allocations: 12 kB / 0.9869 GB, free: 5.703 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1506, allocations: 4 kB / 0.9869 GB, free: 5.699 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1507, allocations: 74.23 kB / 0.987 GB, free: 5.621 MB / 0.948 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.001059/0.1517, allocations: 0.7446 MB / 0.9877 GB, free: 4.836 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.152, allocations: 173.9 kB / 0.9879 GB, free: 4.656 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.1521, allocations: 39.67 kB / 0.9879 GB, free: 4.613 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.1523, allocations: 71.8 kB / 0.988 GB, free: 4.543 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1523, allocations: 42.52 kB / 0.988 GB, free: 4.492 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.1523, allocations: 0 / 0.988 GB, free: 4.492 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0002889/0.1526, allocations: 137.5 kB / 0.9881 GB, free: 4.352 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1526, allocations: 55.41 kB / 0.9882 GB, free: 4.285 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1527, allocations: 213 kB / 0.9884 GB, free: 4.066 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1528, allocations: 25.7 kB / 0.9884 GB, free: 4.035 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1528, allocations: 160.8 kB / 0.9886 GB, free: 3.875 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1529, allocations: 67.42 kB / 0.9886 GB, free: 3.809 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.1529, allocations: 45.69 kB / 0.9887 GB, free: 3.758 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.153, allocations: 334.8 kB / 0.989 GB, free: 3.422 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.153, allocations: 18.83 kB / 0.989 GB, free: 3.402 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.1531, allocations: 155 kB / 0.9892 GB, free: 3.211 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1532, allocations: 118.2 kB / 0.9893 GB, free: 3.078 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1532, allocations: 8 kB / 0.9893 GB, free: 3.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001461/0.1534, allocations: 124.3 kB / 0.9894 GB, free: 2.941 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1534, allocations: 11.94 kB / 0.9894 GB, free: 2.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1534, allocations: 0 / 0.9894 GB, free: 2.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1534, allocations: 4 kB / 0.9894 GB, free: 2.926 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1535, allocations: 51.91 kB / 0.9895 GB, free: 2.875 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.1535, allocations: 0 / 0.9895 GB, free: 2.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.1536, allocations: 31.78 kB / 0.9895 GB, free: 2.844 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1536, allocations: 8 kB / 0.9895 GB, free: 2.836 MB / 0.948 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.65e-05/0.1537, allocations: 132.5 kB / 0.9896 GB, free: 2.695 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1537, allocations: 20.02 kB / 0.9897 GB, free: 2.676 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1539, allocations: 142 kB / 0.9898 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1539, allocations: 0 / 0.9898 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1539, allocations: 3.938 kB / 0.9898 GB, free: 2.527 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1539, allocations: 4 kB / 0.9898 GB, free: 2.523 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.1544, allocations: 0.4901 MB / 0.9903 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1544, allocations: 0 / 0.9903 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1545, allocations: 35.98 kB / 0.9903 GB, free: 1.945 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1545, allocations: 0 / 0.9903 GB, free: 1.945 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1545, allocations: 8 kB / 0.9903 GB, free: 1.938 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1545, allocations: 4 kB / 0.9903 GB, free: 1.934 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1545, allocations: 11.86 kB / 0.9903 GB, free: 1.922 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1548, allocations: 332.4 kB / 0.9907 GB, free: 1.555 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1548, allocations: 27.84 kB / 0.9907 GB, free: 1.527 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1548, allocations: 11.98 kB / 0.9907 GB, free: 1.516 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.1549, allocations: 12 kB / 0.9907 GB, free: 1.504 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.155, allocations: 23.91 kB / 0.9907 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.155, allocations: 11.94 kB / 0.9907 GB, free: 1.469 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.155, allocations: 70.78 kB / 0.9908 GB, free: 1.398 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.155, allocations: 0 / 0.9908 GB, free: 1.398 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002654/0.1553, allocations: 119.6 kB / 0.9909 GB, free: 1.281 MB / 0.948 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.0002495/0.1555, allocations: 156.1 kB / 0.9911 GB, free: 1.121 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1557, allocations: 84.7 kB / 0.9911 GB, free: 1.035 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1557, allocations: 4 kB / 0.9911 GB, free: 1.031 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/0.1557, allocations: 54.88 kB / 0.9912 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1561, allocations: 106.6 kB / 0.9913 GB, free: 0.875 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.1569, allocations: 0.5428 MB / 0.9918 GB, free: 288 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.157, allocations: 104.5 kB / 0.9919 GB, free: 164 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.416e-05/0.1571, allocations: 29.95 kB / 0.992 GB, free: 132 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.1572, allocations: 127.2 kB / 0.9921 GB, free: 4 kB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/0.1572, allocations: 0 / 0.9921 GB, free: 4 kB / 0.948 GB Notification: Performance of Templates: time 0.007293/0.1645, allocations: 5.446 MB / 0.9974 GB, free: 10.66 MB / 0.9636 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: 5.546464023180306]