Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0009038/0.0009038, allocations: 80.81 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.001052/0.001052, allocations: 173 kB / 23.36 MB, free: 1.125 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.9392/0.9392, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.406/2.406, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.389e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1351/0.1351, allocations: 145.5 MB / 0.9807 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1363, allocations: 0.8449 MB / 0.9815 GB, free: 11.3 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1364, allocations: 11.88 kB / 0.9815 GB, free: 11.29 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1367, allocations: 75.36 kB / 0.9816 GB, free: 11.21 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.1374, allocations: 322.2 kB / 0.9819 GB, free: 10.9 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1378, allocations: 291.2 kB / 0.9821 GB, free: 10.61 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1382, allocations: 0.5182 MB / 0.9827 GB, free: 10.09 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1384, allocations: 155.5 kB / 0.9828 GB, free: 9.945 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.1391, allocations: 287.2 kB / 0.9831 GB, free: 9.664 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1392, allocations: 163.5 kB / 0.9832 GB, free: 9.504 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1392, allocations: 16 kB / 0.9832 GB, free: 9.488 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1394, allocations: 83.91 kB / 0.9833 GB, free: 9.406 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.1394, allocations: 87.72 kB / 0.9834 GB, free: 9.32 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.1395, allocations: 79.78 kB / 0.9835 GB, free: 9.242 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1397, allocations: 247.1 kB / 0.9837 GB, free: 9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1397, allocations: 0 / 0.9837 GB, free: 9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1397, allocations: 0 / 0.9837 GB, free: 9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1397, allocations: 0 / 0.9837 GB, free: 9 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004284/0.1402, allocations: 435.3 kB / 0.9841 GB, free: 8.551 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.1402, allocations: 12.03 kB / 0.9841 GB, free: 8.539 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.1402, allocations: 32.91 kB / 0.9842 GB, free: 8.508 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1405, allocations: 201.4 kB / 0.9844 GB, free: 8.285 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1405, allocations: 16.36 kB / 0.9844 GB, free: 8.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.1405, allocations: 24.31 kB / 0.9844 GB, free: 8.246 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1407, allocations: 213.3 kB / 0.9846 GB, free: 7.996 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1407, allocations: 4 kB / 0.9846 GB, free: 7.992 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1407, allocations: 8 kB / 0.9846 GB, free: 7.984 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1407, allocations: 4 kB / 0.9846 GB, free: 7.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.1408, allocations: 76.8 kB / 0.9847 GB, free: 7.898 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.1415, allocations: 1.173 MB / 0.9858 GB, free: 6.656 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1416, allocations: 303.5 kB / 0.9861 GB, free: 6.305 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.1417, allocations: 76.31 kB / 0.9862 GB, free: 6.207 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.1418, allocations: 31.95 kB / 0.9862 GB, free: 6.176 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1418, allocations: 42.5 kB / 0.9863 GB, free: 6.125 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.1418, allocations: 0 / 0.9863 GB, free: 6.125 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0001814/0.142, allocations: 97.72 kB / 0.9864 GB, free: 6.023 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1421, allocations: 187.9 kB / 0.9866 GB, free: 5.797 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.1422, allocations: 186.3 kB / 0.9867 GB, free: 5.602 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1422, allocations: 29.7 kB / 0.9868 GB, free: 5.566 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.1422, allocations: 152 kB / 0.9869 GB, free: 5.414 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1422, allocations: 39.67 kB / 0.9869 GB, free: 5.375 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.1423, allocations: 29.72 kB / 0.987 GB, free: 5.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.1424, allocations: 331.4 kB / 0.9873 GB, free: 5.008 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.1424, allocations: 18.83 kB / 0.9873 GB, free: 4.988 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1425, allocations: 174.5 kB / 0.9875 GB, free: 4.766 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.1426, allocations: 95.19 kB / 0.9876 GB, free: 4.645 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1426, allocations: 4 kB / 0.9876 GB, free: 4.641 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000102/0.1427, allocations: 115 kB / 0.9877 GB, free: 4.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1427, allocations: 8 kB / 0.9877 GB, free: 4.512 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1427, allocations: 0 / 0.9877 GB, free: 4.512 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1427, allocations: 4 kB / 0.9877 GB, free: 4.508 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.1428, allocations: 27.92 kB / 0.9877 GB, free: 4.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1428, allocations: 4 kB / 0.9877 GB, free: 4.477 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.1429, allocations: 15.89 kB / 0.9877 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1429, allocations: 8 kB / 0.9877 GB, free: 4.453 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 6.505e-05/0.1429, allocations: 128.8 kB / 0.9879 GB, free: 4.316 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.143, allocations: 15.94 kB / 0.9879 GB, free: 4.301 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.1431, allocations: 70.81 kB / 0.9879 GB, free: 4.219 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1431, allocations: 4 kB / 0.988 GB, free: 4.215 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1431, allocations: 4 kB / 0.988 GB, free: 4.211 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1431, allocations: 0 / 0.988 GB, free: 4.211 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1435, allocations: 0.6621 MB / 0.9886 GB, free: 3.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1435, allocations: 8 kB / 0.9886 GB, free: 3.492 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1436, allocations: 24.14 kB / 0.9886 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1436, allocations: 0 / 0.9886 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1436, allocations: 4 kB / 0.9886 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1436, allocations: 0 / 0.9886 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1436, allocations: 7.938 kB / 0.9886 GB, free: 3.457 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1438, allocations: 269.7 kB / 0.9889 GB, free: 3.156 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.1438, allocations: 19.86 kB / 0.9889 GB, free: 3.137 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1438, allocations: 4 kB / 0.9889 GB, free: 3.133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/0.1438, allocations: 11.98 kB / 0.9889 GB, free: 3.121 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1439, allocations: 11.95 kB / 0.9889 GB, free: 3.109 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1439, allocations: 11.94 kB / 0.989 GB, free: 3.098 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.1439, allocations: 57.95 kB / 0.989 GB, free: 3.039 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1439, allocations: 0 / 0.989 GB, free: 3.039 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001897/0.1441, allocations: 63.83 kB / 0.9891 GB, free: 2.977 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.000148/0.1443, allocations: 108.2 kB / 0.9892 GB, free: 2.859 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.1444, allocations: 56.72 kB / 0.9892 GB, free: 2.801 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1444, allocations: 448 / 0.9892 GB, free: 2.801 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.1444, allocations: 40.88 kB / 0.9893 GB, free: 2.758 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1446, allocations: 43.91 kB / 0.9893 GB, free: 2.715 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.1455, allocations: 444.3 kB / 0.9897 GB, free: 2.238 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.1455, allocations: 95.89 kB / 0.9898 GB, free: 2.125 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.1456, allocations: 17.48 kB / 0.9898 GB, free: 2.109 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1457, allocations: 91.34 kB / 0.9899 GB, free: 2.02 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.1457, allocations: 4 kB / 0.9899 GB, free: 2.016 MB / 0.948 GB Notification: Performance of Templates: time 0.004298/0.15, allocations: 2.758 MB / 0.9926 GB, free: 15.31 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.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.3778945822268724]