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.000931/0.000931, 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.001104/0.001104, 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 1.079/1.079, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.533/2.533, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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 1.523e-06/1.523e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.894e-05, allocations: 8.781 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1415/0.1415, allocations: 145.5 MB / 0.9807 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1432, allocations: 0.8565 MB / 0.9816 GB, free: 11.21 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1434, allocations: 15.88 kB / 0.9816 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1437, allocations: 67.42 kB / 0.9817 GB, free: 11.13 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.1444, allocations: 334.1 kB / 0.982 GB, free: 10.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.1451, allocations: 279.3 kB / 0.9822 GB, free: 10.53 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.1457, allocations: 0.5221 MB / 0.9827 GB, free: 10.01 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.1459, allocations: 143.5 kB / 0.9829 GB, free: 9.871 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.1464, allocations: 291.2 kB / 0.9832 GB, free: 9.586 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1466, allocations: 163.5 kB / 0.9833 GB, free: 9.426 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.1467, allocations: 16 kB / 0.9833 GB, free: 9.41 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.1469, allocations: 87.91 kB / 0.9834 GB, free: 9.324 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.632e-05/0.147, allocations: 83.73 kB / 0.9835 GB, free: 9.242 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.147, allocations: 79.83 kB / 0.9836 GB, free: 9.164 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1474, allocations: 247.1 kB / 0.9838 GB, free: 8.922 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1474, allocations: 0 / 0.9838 GB, free: 8.922 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1474, allocations: 4 kB / 0.9838 GB, free: 8.918 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1474, allocations: 0 / 0.9838 GB, free: 8.918 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.0005364/0.1479, allocations: 431.3 kB / 0.9842 GB, free: 8.473 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.148, allocations: 8.031 kB / 0.9842 GB, free: 8.465 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.148, allocations: 36.86 kB / 0.9843 GB, free: 8.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1483, allocations: 213.3 kB / 0.9845 GB, free: 8.195 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1483, allocations: 12.38 kB / 0.9845 GB, free: 8.184 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1484, allocations: 16.38 kB / 0.9845 GB, free: 8.168 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.1486, allocations: 217.3 kB / 0.9847 GB, free: 7.914 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1486, allocations: 0 / 0.9847 GB, free: 7.914 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1487, allocations: 12 kB / 0.9847 GB, free: 7.902 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1487, allocations: 4 kB / 0.9847 GB, free: 7.898 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1488, allocations: 79.05 kB / 0.9848 GB, free: 7.816 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.1497, allocations: 1.173 MB / 0.9859 GB, free: 6.574 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1499, allocations: 303.5 kB / 0.9862 GB, free: 6.223 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.1499, allocations: 72.38 kB / 0.9863 GB, free: 6.129 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.1501, allocations: 31.97 kB / 0.9863 GB, free: 6.098 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1501, allocations: 46.48 kB / 0.9864 GB, free: 6.043 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1501, allocations: 0 / 0.9864 GB, free: 6.043 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002566/0.1504, allocations: 93.47 kB / 0.9865 GB, free: 5.945 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1504, allocations: 183.9 kB / 0.9866 GB, free: 5.723 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1506, allocations: 186.4 kB / 0.9868 GB, free: 5.527 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1506, allocations: 26.33 kB / 0.9868 GB, free: 5.496 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1507, allocations: 156.1 kB / 0.987 GB, free: 5.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.1507, allocations: 43.67 kB / 0.987 GB, free: 5.297 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1508, allocations: 29.72 kB / 0.9871 GB, free: 5.262 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.1509, allocations: 330.8 kB / 0.9874 GB, free: 4.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.1509, allocations: 10.83 kB / 0.9874 GB, free: 4.918 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.151, allocations: 178 kB / 0.9876 GB, free: 4.695 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1511, allocations: 99.25 kB / 0.9877 GB, free: 4.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1511, allocations: 4 kB / 0.9877 GB, free: 4.566 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001411/0.1512, allocations: 103.1 kB / 0.9878 GB, free: 4.457 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1512, allocations: 10.03 kB / 0.9878 GB, free: 4.449 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1513, allocations: 0 / 0.9878 GB, free: 4.449 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1513, allocations: 7.984 kB / 0.9878 GB, free: 4.441 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.1514, allocations: 36.45 kB / 0.9878 GB, free: 4.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1514, allocations: 8 kB / 0.9878 GB, free: 4.398 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.1515, allocations: 15.89 kB / 0.9878 GB, free: 4.383 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1515, allocations: 12 kB / 0.9878 GB, free: 4.371 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 8.479e-05/0.1516, allocations: 120.6 kB / 0.988 GB, free: 4.242 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.1517, allocations: 19.86 kB / 0.988 GB, free: 4.223 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.1518, allocations: 74.81 kB / 0.988 GB, free: 4.137 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1518, allocations: 4 kB / 0.988 GB, free: 4.133 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.1518, allocations: 0 / 0.988 GB, free: 4.133 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1518, allocations: 4 kB / 0.9881 GB, free: 4.129 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.1524, allocations: 0.662 MB / 0.9887 GB, free: 3.418 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1524, allocations: 0 / 0.9887 GB, free: 3.418 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.1525, allocations: 23.98 kB / 0.9887 GB, free: 3.395 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1525, allocations: 4 kB / 0.9887 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1525, allocations: 0 / 0.9887 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1525, allocations: 7.938 kB / 0.9887 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1525, allocations: 0 / 0.9887 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1527, allocations: 273.9 kB / 0.989 GB, free: 3.078 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.1528, allocations: 23.89 kB / 0.989 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1528, allocations: 0 / 0.989 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.1529, allocations: 7.984 kB / 0.989 GB, free: 3.047 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1529, allocations: 15.92 kB / 0.989 GB, free: 3.031 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1529, allocations: 4 kB / 0.989 GB, free: 3.027 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.153, allocations: 57.95 kB / 0.9891 GB, free: 2.969 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 0 / 0.9891 GB, free: 2.969 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003047/0.1533, allocations: 63.83 kB / 0.9892 GB, free: 2.906 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.0001886/0.1535, allocations: 108.2 kB / 0.9893 GB, free: 2.789 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1536, allocations: 64.77 kB / 0.9893 GB, free: 2.723 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1536, allocations: 0 / 0.9893 GB, free: 2.723 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.1536, allocations: 36.91 kB / 0.9894 GB, free: 2.684 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.154, allocations: 52.78 kB / 0.9894 GB, free: 2.633 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.1548, allocations: 443.7 kB / 0.9898 GB, free: 2.156 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.1548, allocations: 87.95 kB / 0.9899 GB, free: 2.051 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.289e-05/0.1549, allocations: 17.61 kB / 0.9899 GB, free: 2.035 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.155, allocations: 95.34 kB / 0.99 GB, free: 1.941 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/0.155, allocations: 0 / 0.99 GB, free: 1.941 MB / 0.948 GB Notification: Performance of Templates: time 0.005783/0.1608, allocations: 2.763 MB / 0.9927 GB, free: 15.23 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 -s gbode -gbm=radauIIA3 -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.7629479682073]