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.00101/0.00101, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001326/0.001326, allocations: 169.3 kB / 24.28 MB, free: 284 kB / 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.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.891/1.891, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.282e-06/1.282e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.374e-05, allocations: 3.969 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1375/0.1375, allocations: 157.4 MB / 0.9408 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004344/0.1419, allocations: 4.684 MB / 0.9454 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.1422, allocations: 11.88 kB / 0.9454 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1427, allocations: 135 kB / 0.9456 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0006925/0.1433, allocations: 346.1 kB / 0.9459 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.144, allocations: 303.2 kB / 0.9462 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.1445, allocations: 0.565 MB / 0.9467 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.1447, allocations: 169.5 kB / 0.9469 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008052/0.1455, allocations: 0.5216 MB / 0.9474 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1458, allocations: 183.5 kB / 0.9476 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1458, allocations: 20 kB / 0.9476 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.146, allocations: 87.86 kB / 0.9477 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1461, allocations: 87.72 kB / 0.9478 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.1462, allocations: 79.83 kB / 0.9478 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1465, allocations: 243.2 kB / 0.9481 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1465, allocations: 0 / 0.9481 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1465, allocations: 0 / 0.9481 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1465, allocations: 0 / 0.9481 GB, free: 7.445 MB / 0.9011 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.0006359/0.1471, allocations: 0.5574 MB / 0.9486 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1472, allocations: 8.031 kB / 0.9486 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.1473, allocations: 51.75 kB / 0.9487 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1476, allocations: 240.4 kB / 0.9489 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1476, allocations: 12 kB / 0.9489 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1476, allocations: 20 kB / 0.9489 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.1479, allocations: 250.5 kB / 0.9492 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1479, allocations: 7.938 kB / 0.9492 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.148, allocations: 12 kB / 0.9492 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.148, allocations: 7.984 kB / 0.9492 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1481, allocations: 73.81 kB / 0.9493 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1493, allocations: 1.68 MB / 0.9509 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1495, allocations: 194.6 kB / 0.9511 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.556e-05/0.1496, allocations: 74.06 kB / 0.9512 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.1498, allocations: 35.95 kB / 0.9512 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.1498, allocations: 45.38 kB / 0.9512 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.1498, allocations: 0 / 0.9512 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10): time 0.0003098/0.1502, allocations: 121.8 kB / 0.9514 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1502, allocations: 195.8 kB / 0.9515 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1504, allocations: 250.8 kB / 0.9518 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1504, allocations: 29.7 kB / 0.9518 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.1505, allocations: 207 kB / 0.952 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1505, allocations: 31.7 kB / 0.952 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.1506, allocations: 51.31 kB / 0.9521 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1507, allocations: 0.4962 MB / 0.9526 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.1507, allocations: 11.98 kB / 0.9526 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1508, allocations: 208.2 kB / 0.9528 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1509, allocations: 121.4 kB / 0.9529 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1509, allocations: 0 / 0.9529 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000151/0.1511, allocations: 133.8 kB / 0.953 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1511, allocations: 4 kB / 0.953 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1511, allocations: 4 kB / 0.953 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1511, allocations: 0 / 0.953 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.1512, allocations: 27.98 kB / 0.9531 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1512, allocations: 11.88 kB / 0.9531 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.1513, allocations: 15.94 kB / 0.9531 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1513, allocations: 8 kB / 0.9531 GB, free: 1.785 MB / 0.9011 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 9.38e-05/0.1514, allocations: 164.5 kB / 0.9532 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.1515, allocations: 28 kB / 0.9533 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.1516, allocations: 82.75 kB / 0.9533 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1516, allocations: 4 kB / 0.9534 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1516, allocations: 7.938 kB / 0.9534 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1516, allocations: 3.938 kB / 0.9534 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.1522, allocations: 0.9105 MB / 0.9543 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1522, allocations: 4 kB / 0.9543 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.1523, allocations: 23.92 kB / 0.9543 GB, free: 492 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1523, allocations: 160 / 0.9543 GB, free: 492 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1523, allocations: 8 kB / 0.9543 GB, free: 484 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1523, allocations: 4 kB / 0.9543 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1523, allocations: 0 / 0.9543 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1526, allocations: 302.1 kB / 0.9546 GB, free: 136 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.1526, allocations: 35.8 kB / 0.9546 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1526, allocations: 8.125 kB / 0.9546 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.1527, allocations: 8 kB / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1527, allocations: 11.97 kB / 0.9546 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1527, allocations: 8 kB / 0.9546 GB, free: 64 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.1528, allocations: 179.5 kB / 0.9548 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1528, allocations: 0 / 0.9548 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002599/0.1531, allocations: 55.89 kB / 0.9549 GB, free: 15.83 MB / 0.9167 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.0002079/0.1533, allocations: 123.2 kB / 0.955 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1535, allocations: 79.45 kB / 0.9551 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1535, allocations: 0 / 0.9551 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.1535, allocations: 40.36 kB / 0.9551 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1539, allocations: 62.66 kB / 0.9552 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.1547, allocations: 441.8 kB / 0.9556 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.762e-05/0.1548, allocations: 99.81 kB / 0.9557 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.11e-05/0.1549, allocations: 37.7 kB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1549, allocations: 20.5 kB / 0.9557 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of SimCode: time 1.123e-06/0.1549, allocations: 3.938 kB / 0.9557 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of Templates: time 0.005257/0.1602, allocations: 2.731 MB / 0.9584 GB, free: 12.2 MB / 0.9167 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.548456718912348]