Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001364/0.001364, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00149/0.00149, allocations: 211.2 kB / 22.99 MB, free: 4.957 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.37/3.37, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 79.86 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4198, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2078/0.6276, allocations: 147.8 MB / 1.471 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008609/0.6362, allocations: 6.031 MB / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.6367, allocations: 19.81 kB / 1.477 GB, free: 6.543 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.6373, allocations: 178.7 kB / 1.477 GB, free: 6.367 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.6398, allocations: 0.8363 MB / 1.478 GB, free: 5.527 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.6408, allocations: 350.3 kB / 1.479 GB, free: 5.188 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.6418, allocations: 0.7213 MB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.6423, allocations: 223.2 kB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.6442, allocations: 0.7201 MB / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.6446, allocations: 275 kB / 1.481 GB, free: 3.25 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.6447, allocations: 20 kB / 1.481 GB, free: 3.23 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.6453, allocations: 299.3 kB / 1.481 GB, free: 2.938 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.6454, allocations: 111.6 kB / 1.481 GB, free: 2.828 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.6456, allocations: 135.3 kB / 1.481 GB, free: 2.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.6463, allocations: 470.2 kB / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6463, allocations: 0 / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6463, allocations: 0 / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6463, allocations: 0 / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001013/0.6473, allocations: 0.5633 MB / 1.482 GB, free: 1.641 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6473, allocations: 8.031 kB / 1.482 GB, free: 1.633 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.6477, allocations: 67.67 kB / 1.482 GB, free: 1.566 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.6483, allocations: 255.6 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.6484, allocations: 20.66 kB / 1.482 GB, free: 1.266 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.6484, allocations: 24 kB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.6491, allocations: 316.9 kB / 1.483 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6491, allocations: 0 / 1.483 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.6491, allocations: 12 kB / 1.483 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.6491, allocations: 11.94 kB / 1.483 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.6496, allocations: 209.5 kB / 1.483 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.6511, allocations: 1.129 MB / 1.484 GB, free: 15.49 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.6514, allocations: 110.5 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.6516, allocations: 92.73 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.6521, allocations: 67.92 kB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.6521, allocations: 42.55 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.6521, allocations: 0 / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007912/0.6529, allocations: 268.7 kB / 1.485 GB, free: 14.9 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.653, allocations: 51.41 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.6532, allocations: 229.9 kB / 1.485 GB, free: 14.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.6533, allocations: 29.7 kB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.6534, allocations: 196.1 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.6535, allocations: 43.58 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.6535, allocations: 41.7 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6537, allocations: 330.8 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.6539, allocations: 63.95 kB / 1.486 GB, free: 13.89 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.6541, allocations: 187.8 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.6545, allocations: 172.9 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6545, allocations: 4 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004442/0.6549, allocations: 213.3 kB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6549, allocations: 11.98 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6549, allocations: 0 / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.655, allocations: 4 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.6552, allocations: 27.98 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.6552, allocations: 8.156 kB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.6553, allocations: 19.94 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.6553, allocations: 4 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001577/0.6555, allocations: 157.7 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.6555, allocations: 27.73 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.656, allocations: 207.3 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.656, allocations: 0 / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.656, allocations: 4 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.656, allocations: 4 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.6571, allocations: 0.5934 MB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6571, allocations: 0 / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.6572, allocations: 27.98 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6572, allocations: 8.156 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.6573, allocations: 8 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.6573, allocations: 4 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6573, allocations: 0 / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.6578, allocations: 337.1 kB / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.6579, allocations: 39.78 kB / 1.488 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.6579, allocations: 4 kB / 1.488 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.658, allocations: 11.98 kB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.6581, allocations: 19.92 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.6581, allocations: 4 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001626/0.6583, allocations: 165.2 kB / 1.488 GB, free: 11.48 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6583, allocations: 0 / 1.488 GB, free: 11.48 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004244/0.6587, allocations: 79.78 kB / 1.488 GB, free: 11.4 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0002894/0.659, allocations: 147.1 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.6594, allocations: 147.8 kB / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6594, allocations: 0 / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.6596, allocations: 80.56 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.6602, allocations: 90.59 kB / 1.488 GB, free: 10.94 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.6612, allocations: 0.5406 MB / 1.489 GB, free: 10.35 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.6614, allocations: 175.4 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.6616, allocations: 49.91 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.6616, allocations: 19.44 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of SimCode: time 3.4e-07/0.6616, allocations: 0 / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of Templates: time 0.009636/0.6713, allocations: 4.167 MB / 1.493 GB, free: 6.027 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.104415708003216]