Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0009753/0.0009753, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001557/0.001557, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.554/2.554, allocations: 438.8 MB / 0.6826 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.589e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1418/0.1418, allocations: 146.1 MB / 0.9813 GB, free: 11.51 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1436, allocations: 1.001 MB / 0.9823 GB, free: 10.5 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1438, allocations: 19.81 kB / 0.9823 GB, free: 10.48 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.1441, allocations: 87.27 kB / 0.9824 GB, free: 10.4 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009447/0.145, allocations: 405.7 kB / 0.9828 GB, free: 10 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.1457, allocations: 339.2 kB / 0.9831 GB, free: 9.668 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.1463, allocations: 0.6821 MB / 0.9838 GB, free: 8.984 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.1466, allocations: 198.1 kB / 0.984 GB, free: 8.793 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.1471, allocations: 363 kB / 0.9843 GB, free: 8.438 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.1474, allocations: 227.4 kB / 0.9845 GB, free: 8.215 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.1474, allocations: 24 kB / 0.9845 GB, free: 8.191 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.1477, allocations: 195.5 kB / 0.9847 GB, free: 8 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.1478, allocations: 115.6 kB / 0.9848 GB, free: 7.887 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.1479, allocations: 115.7 kB / 0.9849 GB, free: 7.773 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.1483, allocations: 338.8 kB / 0.9853 GB, free: 7.441 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1483, allocations: 4 kB / 0.9853 GB, free: 7.438 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1483, allocations: 3.938 kB / 0.9853 GB, free: 7.434 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1483, allocations: 0 / 0.9853 GB, free: 7.434 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005085/0.1488, allocations: 0.5072 MB / 0.9858 GB, free: 6.902 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1489, allocations: 8.031 kB / 0.9858 GB, free: 6.895 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.1491, allocations: 88.72 kB / 0.9859 GB, free: 6.809 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1494, allocations: 240.7 kB / 0.9861 GB, free: 6.543 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1494, allocations: 20.97 kB / 0.9861 GB, free: 6.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1494, allocations: 32.12 kB / 0.9861 GB, free: 6.488 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1497, allocations: 248.6 kB / 0.9864 GB, free: 6.215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1497, allocations: 3.938 kB / 0.9864 GB, free: 6.211 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1497, allocations: 12 kB / 0.9864 GB, free: 6.199 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1497, allocations: 8 kB / 0.9864 GB, free: 6.191 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.1498, allocations: 79.88 kB / 0.9865 GB, free: 6.113 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.0007546/0.1506, allocations: 0.9763 MB / 0.9874 GB, free: 5.094 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1507, allocations: 105.3 kB / 0.9875 GB, free: 4.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.1507, allocations: 39.66 kB / 0.9876 GB, free: 4.938 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.1509, allocations: 39.95 kB / 0.9876 GB, free: 4.898 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1509, allocations: 34.56 kB / 0.9876 GB, free: 4.855 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1509, allocations: 0 / 0.9876 GB, free: 4.855 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002534/0.1512, allocations: 120.5 kB / 0.9878 GB, free: 4.734 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1512, allocations: 55.41 kB / 0.9878 GB, free: 4.668 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1513, allocations: 209 kB / 0.988 GB, free: 4.453 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1513, allocations: 29.7 kB / 0.988 GB, free: 4.418 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1514, allocations: 180.6 kB / 0.9882 GB, free: 4.238 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1514, allocations: 47.53 kB / 0.9883 GB, free: 4.191 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1515, allocations: 33.7 kB / 0.9883 GB, free: 4.152 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.1516, allocations: 342.7 kB / 0.9886 GB, free: 3.809 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.1516, allocations: 14.83 kB / 0.9886 GB, free: 3.793 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.1517, allocations: 148.3 kB / 0.9888 GB, free: 3.613 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.1518, allocations: 86.59 kB / 0.9889 GB, free: 3.508 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1518, allocations: 4 kB / 0.9889 GB, free: 3.504 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001239/0.1519, allocations: 104.3 kB / 0.989 GB, free: 3.395 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1519, allocations: 8.156 kB / 0.989 GB, free: 3.387 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1519, allocations: 4 kB / 0.989 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1519, allocations: 0 / 0.989 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.152, allocations: 35.98 kB / 0.989 GB, free: 3.348 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.152, allocations: 7.922 kB / 0.989 GB, free: 3.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.1521, allocations: 11.95 kB / 0.989 GB, free: 3.328 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.1521, allocations: 11.94 kB / 0.989 GB, free: 3.316 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 (17): * Single equations (assignments): 17 * 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 8.452e-05/0.1522, allocations: 120.6 kB / 0.9892 GB, free: 3.188 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1522, allocations: 15.98 kB / 0.9892 GB, free: 3.172 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.1524, allocations: 111.6 kB / 0.9893 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1524, allocations: 4 kB / 0.9893 GB, free: 3.051 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.1524, allocations: 0 / 0.9893 GB, free: 3.051 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1524, allocations: 4 kB / 0.9893 GB, free: 3.047 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.153, allocations: 492 kB / 0.9897 GB, free: 2.512 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.153, allocations: 0 / 0.9897 GB, free: 2.512 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.1531, allocations: 27.92 kB / 0.9898 GB, free: 2.484 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1531, allocations: 8.266 kB / 0.9898 GB, free: 2.477 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1531, allocations: 15.92 kB / 0.9898 GB, free: 2.461 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1531, allocations: 0 / 0.9898 GB, free: 2.461 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1531, allocations: 4 kB / 0.9898 GB, free: 2.457 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1533, allocations: 288 kB / 0.9901 GB, free: 2.129 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1533, allocations: 27.83 kB / 0.9901 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1534, allocations: 15.88 kB / 0.9901 GB, free: 2.086 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.168e-05/0.1534, allocations: 4 kB / 0.9901 GB, free: 2.082 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1535, allocations: 15.97 kB / 0.9901 GB, free: 2.066 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1535, allocations: 8 kB / 0.9901 GB, free: 2.059 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.1535, allocations: 74.77 kB / 0.9902 GB, free: 1.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1535, allocations: 0 / 0.9902 GB, free: 1.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002441/0.1538, allocations: 87.72 kB / 0.9903 GB, free: 1.895 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0001704/0.1539, allocations: 104.3 kB / 0.9904 GB, free: 1.785 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.1541, allocations: 72.94 kB / 0.9905 GB, free: 1.711 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1541, allocations: 8.062 kB / 0.9905 GB, free: 1.703 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.1541, allocations: 36.72 kB / 0.9905 GB, free: 1.664 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1544, allocations: 88.94 kB / 0.9906 GB, free: 1.578 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.1552, allocations: 0.4992 MB / 0.9911 GB, free: 1.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.1553, allocations: 100.3 kB / 0.9912 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.051e-05/0.1553, allocations: 25.95 kB / 0.9912 GB, free: 0.8789 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1555, allocations: 103.3 kB / 0.9913 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1555, allocations: 0 / 0.9913 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of Templates: time 0.006409/0.1619, allocations: 3.858 MB / 0.9951 GB, free: 13.01 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.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.760225117672235]