Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001027/0.001027, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001344/0.001344, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9418/0.9418, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.755/1.755, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.89e-05, allocations: 3.719 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1466/0.1466, allocations: 146.1 MB / 0.9298 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.148, allocations: 0.8488 MB / 0.9306 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1482, allocations: 15.88 kB / 0.9306 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1485, allocations: 71.36 kB / 0.9307 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006777/0.1492, allocations: 338.2 kB / 0.931 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.1497, allocations: 291.3 kB / 0.9313 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.1502, allocations: 0.5532 MB / 0.9318 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.1505, allocations: 169.5 kB / 0.932 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.1509, allocations: 303.1 kB / 0.9323 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1511, allocations: 171.5 kB / 0.9324 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1511, allocations: 16 kB / 0.9325 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1513, allocations: 83.84 kB / 0.9325 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.1513, allocations: 99.7 kB / 0.9326 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.1514, allocations: 75.84 kB / 0.9327 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.1518, allocations: 243.2 kB / 0.9329 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1518, allocations: 0 / 0.9329 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1518, allocations: 8 kB / 0.9329 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1518, allocations: 0 / 0.9329 GB, free: 6.637 MB / 0.8855 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.0005608/0.1523, allocations: 0.5501 MB / 0.9335 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1524, allocations: 12.03 kB / 0.9335 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.1524, allocations: 40.78 kB / 0.9335 GB, free: 6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1527, allocations: 245 kB / 0.9338 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1528, allocations: 12.38 kB / 0.9338 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1528, allocations: 24.38 kB / 0.9338 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1531, allocations: 254.5 kB / 0.934 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1531, allocations: 0 / 0.934 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1531, allocations: 8 kB / 0.9341 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1531, allocations: 4 kB / 0.9341 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1532, allocations: 71.83 kB / 0.9341 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1542, allocations: 1.676 MB / 0.9358 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1544, allocations: 198.7 kB / 0.936 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1544, allocations: 70.11 kB / 0.936 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.1546, allocations: 39.95 kB / 0.9361 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1546, allocations: 41.33 kB / 0.9361 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.1546, allocations: 0 / 0.9361 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0002552/0.1549, allocations: 121.4 kB / 0.9362 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.1549, allocations: 191.8 kB / 0.9364 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1551, allocations: 247.5 kB / 0.9366 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1551, allocations: 29.7 kB / 0.9367 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1552, allocations: 219 kB / 0.9369 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1552, allocations: 31.7 kB / 0.9369 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.1553, allocations: 47.36 kB / 0.9369 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1554, allocations: 0.4962 MB / 0.9374 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.1554, allocations: 11.98 kB / 0.9374 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1555, allocations: 207.9 kB / 0.9376 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.1556, allocations: 121.4 kB / 0.9378 GB, free: 1.207 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1556, allocations: 0 / 0.9378 GB, free: 1.207 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001366/0.1557, allocations: 129.3 kB / 0.9379 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1558, allocations: 5.719 kB / 0.9379 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1558, allocations: 4 kB / 0.9379 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1558, allocations: 0 / 0.9379 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.1559, allocations: 36.14 kB / 0.9379 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1559, allocations: 11.92 kB / 0.9379 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.1559, allocations: 15.94 kB / 0.9379 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1559, allocations: 8.312 kB / 0.938 GB, free: 0.9961 MB / 0.8855 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 7.517e-05/0.156, allocations: 164.5 kB / 0.9381 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.1561, allocations: 27.84 kB / 0.9381 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1562, allocations: 90.75 kB / 0.9382 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1562, allocations: 4 kB / 0.9382 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1562, allocations: 0 / 0.9382 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1562, allocations: 4 kB / 0.9382 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.157, allocations: 0.9182 MB / 0.9391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.157, allocations: 4 kB / 0.9391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.1571, allocations: 19.98 kB / 0.9392 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1571, allocations: 0 / 0.9392 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1571, allocations: 4 kB / 0.9392 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1571, allocations: 0 / 0.9392 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1571, allocations: 7.938 kB / 0.9392 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1573, allocations: 306.3 kB / 0.9395 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.1573, allocations: 27.84 kB / 0.9395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1573, allocations: 4 kB / 0.9395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.1574, allocations: 4 kB / 0.9395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1574, allocations: 15.92 kB / 0.9395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1574, allocations: 4 kB / 0.9395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.186e-05/0.1575, allocations: 179.4 kB / 0.9397 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1575, allocations: 0 / 0.9397 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002313/0.1578, allocations: 63.83 kB / 0.9397 GB, free: 15.04 MB / 0.9011 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.0001681/0.1579, allocations: 127.1 kB / 0.9399 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1581, allocations: 78.48 kB / 0.9399 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1581, allocations: 0 / 0.9399 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.1581, allocations: 35.61 kB / 0.94 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1584, allocations: 65.75 kB / 0.94 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.1591, allocations: 457.8 kB / 0.9405 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.113e-05/0.1592, allocations: 91.89 kB / 0.9406 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.1592, allocations: 33.45 kB / 0.9406 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1593, allocations: 24.5 kB / 0.9406 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of SimCode: time 6.21e-07/0.1593, allocations: 0 / 0.9406 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of Templates: time 0.00494/0.1642, allocations: 2.948 MB / 0.9435 GB, free: 11.2 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.3127386351116]