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.001407/0.001407, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001573/0.001573, allocations: 161 kB / 23.82 MB, free: 0.75 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.9863/0.9863, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.806/1.806, allocations: 359 MB / 0.6052 GB, free: 11.02 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 2.385e-06/2.385e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.083e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1429/0.1429, allocations: 146.1 MB / 0.9298 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1451, allocations: 0.8411 MB / 0.9306 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.1454, allocations: 11.88 kB / 0.9306 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.1458, allocations: 75.42 kB / 0.9307 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008948/0.1467, allocations: 330.2 kB / 0.931 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.1474, allocations: 291.3 kB / 0.9313 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.148, allocations: 0.561 MB / 0.9318 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.1484, allocations: 163.4 kB / 0.932 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.1489, allocations: 295.2 kB / 0.9323 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1492, allocations: 175.5 kB / 0.9324 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.1492, allocations: 20 kB / 0.9324 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1494, allocations: 91.78 kB / 0.9325 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1495, allocations: 87.72 kB / 0.9326 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.1496, allocations: 79.78 kB / 0.9327 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.15, allocations: 247.2 kB / 0.9329 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.15, allocations: 0 / 0.9329 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.403e-06/0.15, allocations: 0 / 0.9329 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.15, allocations: 0 / 0.9329 GB, free: 6.672 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.0006792/0.1507, allocations: 0.5579 MB / 0.9335 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1507, allocations: 12.03 kB / 0.9335 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.1508, allocations: 44.8 kB / 0.9335 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1511, allocations: 237 kB / 0.9338 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1511, allocations: 12.38 kB / 0.9338 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.1512, allocations: 24.36 kB / 0.9338 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1515, allocations: 262.5 kB / 0.934 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1515, allocations: 0 / 0.934 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1515, allocations: 12 kB / 0.9341 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1515, allocations: 4 kB / 0.9341 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1516, allocations: 72.75 kB / 0.9341 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1527, allocations: 1.684 MB / 0.9358 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.153, allocations: 194.8 kB / 0.936 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.153, allocations: 77.98 kB / 0.936 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.1532, allocations: 31.95 kB / 0.9361 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1533, allocations: 45.33 kB / 0.9361 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.1533, allocations: 4 kB / 0.9361 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0003038/0.1536, allocations: 117.4 kB / 0.9362 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.1536, allocations: 191.9 kB / 0.9364 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1538, allocations: 250.9 kB / 0.9366 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1539, allocations: 29.7 kB / 0.9367 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.154, allocations: 206.9 kB / 0.9369 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.154, allocations: 35.69 kB / 0.9369 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.154, allocations: 47.98 kB / 0.9369 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1542, allocations: 0.4962 MB / 0.9374 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.1542, allocations: 15.98 kB / 0.9374 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1543, allocations: 203.9 kB / 0.9376 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1544, allocations: 121.4 kB / 0.9378 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1544, allocations: 0 / 0.9378 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001531/0.1546, allocations: 133.3 kB / 0.9379 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1546, allocations: 4 kB / 0.9379 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1546, allocations: 4 kB / 0.9379 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1546, allocations: 0 / 0.9379 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.1547, allocations: 31.92 kB / 0.9379 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1547, allocations: 4 kB / 0.9379 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.1548, allocations: 11.95 kB / 0.9379 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1548, allocations: 8.219 kB / 0.9379 GB, free: 1.023 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 8.857e-05/0.1549, allocations: 176.4 kB / 0.9381 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.155, allocations: 27.84 kB / 0.9381 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1551, allocations: 79.22 kB / 0.9382 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1551, allocations: 4 kB / 0.9382 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1551, allocations: 4 kB / 0.9382 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1551, allocations: 0 / 0.9382 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.1557, allocations: 0.9182 MB / 0.9391 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1557, allocations: 4.203 kB / 0.9391 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.1558, allocations: 27.97 kB / 0.9392 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1558, allocations: 0 / 0.9392 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1558, allocations: 4 kB / 0.9392 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1558, allocations: 0 / 0.9392 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1558, allocations: 11.88 kB / 0.9392 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1561, allocations: 302.1 kB / 0.9395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1561, allocations: 27.8 kB / 0.9395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1561, allocations: 11.98 kB / 0.9395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.1562, allocations: 4 kB / 0.9395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1562, allocations: 15.95 kB / 0.9395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1562, allocations: 8 kB / 0.9395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.1563, allocations: 175.5 kB / 0.9397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1563, allocations: 0 / 0.9397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002526/0.1566, allocations: 55.89 kB / 0.9397 GB, free: 15.06 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.0002147/0.1568, allocations: 131.1 kB / 0.9399 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.157, allocations: 78.44 kB / 0.9399 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.157, allocations: 4.062 kB / 0.9399 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.157, allocations: 39.61 kB / 0.94 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1574, allocations: 60.98 kB / 0.94 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.1582, allocations: 446.1 kB / 0.9405 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.826e-05/0.1583, allocations: 95.97 kB / 0.9406 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.103e-05/0.1583, allocations: 33.44 kB / 0.9406 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1584, allocations: 20.5 kB / 0.9406 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/0.1584, allocations: 0 / 0.9406 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of Templates: time 0.005392/0.1638, allocations: 2.736 MB / 0.9433 GB, free: 11.43 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.545708450023085]