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.0009461/0.0009461, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001088/0.001088, allocations: 169 kB / 23.27 MB, free: 1.223 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.027/1.027, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.47/2.47, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.695e-06/2.695e-06, allocations: 3.984 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.381e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1393/0.1393, allocations: 143.3 MB / 1.03 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1417, allocations: 0.8217 MB / 1.031 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.1422, allocations: 15.88 kB / 1.031 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.1426, allocations: 71.36 kB / 1.031 GB, free: 8.871 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1438, allocations: 330.2 kB / 1.031 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.1448, allocations: 287.2 kB / 1.031 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008378/0.1456, allocations: 0.526 MB / 1.032 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.146, allocations: 149.5 kB / 1.032 GB, free: 7.586 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.1466, allocations: 291.1 kB / 1.032 GB, free: 7.301 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1468, allocations: 167.5 kB / 1.032 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.1469, allocations: 16 kB / 1.032 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.1471, allocations: 83.91 kB / 1.032 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.1472, allocations: 87.73 kB / 1.033 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.259e-05/0.1473, allocations: 83.77 kB / 1.033 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1476, allocations: 243.1 kB / 1.033 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.1477, allocations: 4 kB / 1.033 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1477, allocations: 0 / 1.033 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.1477, allocations: 0 / 1.033 GB, free: 6.629 MB / 0.9948 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.0006513/0.1483, allocations: 0.5537 MB / 1.033 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1484, allocations: 8.031 kB / 1.033 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.1484, allocations: 48.75 kB / 1.033 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1487, allocations: 220.7 kB / 1.034 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1487, allocations: 16.38 kB / 1.034 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.1488, allocations: 20.38 kB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.1491, allocations: 234.8 kB / 1.034 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1491, allocations: 0 / 1.034 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1491, allocations: 12 kB / 1.034 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1491, allocations: 4 kB / 1.034 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.1492, allocations: 59.81 kB / 1.034 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1503, allocations: 1.692 MB / 1.036 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1505, allocations: 182.7 kB / 1.036 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.1505, allocations: 74.09 kB / 1.036 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.1507, allocations: 35.95 kB / 1.036 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1507, allocations: 45.33 kB / 1.036 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.1507, allocations: 0 / 1.036 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002557/0.151, allocations: 117.3 kB / 1.036 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.151, allocations: 183.9 kB / 1.036 GB, free: 2.785 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1512, allocations: 241.6 kB / 1.036 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1512, allocations: 25.7 kB / 1.036 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1513, allocations: 218.8 kB / 1.037 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1513, allocations: 36.27 kB / 1.037 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.1514, allocations: 43.34 kB / 1.037 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1515, allocations: 0.5079 MB / 1.037 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.1515, allocations: 4 kB / 1.037 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1517, allocations: 215.9 kB / 1.037 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.1518, allocations: 105.7 kB / 1.038 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1518, allocations: 4 kB / 1.038 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001471/0.1519, allocations: 125.3 kB / 1.038 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1519, allocations: 6.031 kB / 1.038 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.1519, allocations: 4 kB / 1.038 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1519, allocations: 4 kB / 1.038 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.152, allocations: 27.92 kB / 1.038 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.152, allocations: 4 kB / 1.038 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.1521, allocations: 24.09 kB / 1.038 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1521, allocations: 8 kB / 1.038 GB, free: 1.055 MB / 0.9948 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 0.0001075/0.1522, allocations: 164.5 kB / 1.038 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.1523, allocations: 27.84 kB / 1.038 GB, free: 0.8555 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.1525, allocations: 78.81 kB / 1.038 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1525, allocations: 0 / 1.038 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1525, allocations: 4 kB / 1.038 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1525, allocations: 0 / 1.038 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.1531, allocations: 0.8682 MB / 1.039 GB, free: 15.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1531, allocations: 4.031 kB / 1.039 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.1532, allocations: 19.98 kB / 1.039 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.1532, allocations: 4 kB / 1.039 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1532, allocations: 4 kB / 1.039 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1532, allocations: 7.938 kB / 1.039 GB, free: 15.81 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1532, allocations: 0 / 1.039 GB, free: 15.81 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1535, allocations: 302.2 kB / 1.039 GB, free: 15.47 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1535, allocations: 23.83 kB / 1.039 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1535, allocations: 8 kB / 1.039 GB, free: 15.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.1536, allocations: 8.031 kB / 1.039 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1536, allocations: 19.91 kB / 1.039 GB, free: 15.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1536, allocations: 7.938 kB / 1.039 GB, free: 15.41 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.524e-05/0.1537, allocations: 180.2 kB / 1.039 GB, free: 15.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1537, allocations: 0 / 1.039 GB, free: 15.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002813/0.154, allocations: 55.83 kB / 1.04 GB, free: 15.18 MB / 1.01 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.0002132/0.1542, allocations: 123.2 kB / 1.04 GB, free: 15.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1544, allocations: 67.83 kB / 1.04 GB, free: 14.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1544, allocations: 4 kB / 1.04 GB, free: 14.97 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.1544, allocations: 35.61 kB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1548, allocations: 53.69 kB / 1.04 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.1556, allocations: 461.3 kB / 1.04 GB, free: 14.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.1556, allocations: 87.97 kB / 1.04 GB, free: 14.28 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1557, allocations: 17.48 kB / 1.04 GB, free: 14.26 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1558, allocations: 118.2 kB / 1.04 GB, free: 14.14 MB / 1.01 GB Notification: Performance of SimCode: time 1.362e-06/0.1558, allocations: 0 / 1.04 GB, free: 14.14 MB / 1.01 GB Notification: Performance of Templates: time 0.00547/0.1613, allocations: 2.831 MB / 1.043 GB, free: 11.37 MB / 1.01 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: 6.3815085999667645]