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.00151/0.00151, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001818/0.001818, allocations: 217.9 kB / 23.01 MB, free: 5.125 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 2.904/2.904, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.002004/0.002004, allocations: 75.66 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2959, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1881/0.484, allocations: 171.2 MB / 1.494 GB, free: 5.605 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008216/0.4923, allocations: 6.635 MB / 1.501 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.4927, allocations: 23.81 kB / 1.501 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.4933, allocations: 170.7 kB / 1.501 GB, free: 14.76 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.4957, allocations: 0.8791 MB / 1.502 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/0.4967, allocations: 353.2 kB / 1.502 GB, free: 13.53 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.4978, allocations: 0.729 MB / 1.503 GB, free: 12.8 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.4982, allocations: 219.2 kB / 1.503 GB, free: 12.58 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.4998, allocations: 0.724 MB / 1.504 GB, free: 11.86 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.5002, allocations: 278.9 kB / 1.504 GB, free: 11.58 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.5003, allocations: 28 kB / 1.504 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.5009, allocations: 359.1 kB / 1.504 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.5011, allocations: 107.6 kB / 1.505 GB, free: 11.1 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.5013, allocations: 159.2 kB / 1.505 GB, free: 10.94 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007277/0.502, allocations: 474.2 kB / 1.505 GB, free: 10.48 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.502, allocations: 0 / 1.505 GB, free: 10.48 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.172e-06/0.502, allocations: 0 / 1.505 GB, free: 10.48 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.502, allocations: 0 / 1.505 GB, free: 10.48 MB / 1.201 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.0009536/0.5029, allocations: 0.5633 MB / 1.506 GB, free: 9.883 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.503, allocations: 8.031 kB / 1.506 GB, free: 9.875 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.5033, allocations: 63.73 kB / 1.506 GB, free: 9.812 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.5039, allocations: 251.6 kB / 1.506 GB, free: 9.535 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5039, allocations: 24.66 kB / 1.506 GB, free: 9.512 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.5039, allocations: 27.94 kB / 1.506 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.5045, allocations: 316.9 kB / 1.506 GB, free: 9.148 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5045, allocations: 7.875 kB / 1.506 GB, free: 9.141 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.5045, allocations: 16 kB / 1.506 GB, free: 9.125 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5045, allocations: 4 kB / 1.506 GB, free: 9.121 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.5049, allocations: 205.5 kB / 1.507 GB, free: 8.922 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5066, allocations: 1.5 MB / 1.508 GB, free: 7.289 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.5069, allocations: 118.5 kB / 1.508 GB, free: 7.164 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.5071, allocations: 80.8 kB / 1.508 GB, free: 7.082 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.5075, allocations: 79.91 kB / 1.508 GB, free: 7.004 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5075, allocations: 34.56 kB / 1.508 GB, free: 6.961 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.5075, allocations: 0 / 1.508 GB, free: 6.961 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007037/0.5083, allocations: 267 kB / 1.509 GB, free: 6.695 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5083, allocations: 59.41 kB / 1.509 GB, free: 6.625 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5086, allocations: 316.5 kB / 1.509 GB, free: 6.309 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.5087, allocations: 33.64 kB / 1.509 GB, free: 6.27 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5088, allocations: 184.2 kB / 1.509 GB, free: 6.086 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.5089, allocations: 43.58 kB / 1.509 GB, free: 6.043 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.5089, allocations: 37.7 kB / 1.509 GB, free: 6 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5091, allocations: 338.8 kB / 1.51 GB, free: 5.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.5092, allocations: 55.95 kB / 1.51 GB, free: 5.605 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.5094, allocations: 124.9 kB / 1.51 GB, free: 5.465 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.5098, allocations: 173 kB / 1.51 GB, free: 5.277 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5098, allocations: 3.938 kB / 1.51 GB, free: 5.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004148/0.5102, allocations: 221.2 kB / 1.51 GB, free: 5.051 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5102, allocations: 5.25 kB / 1.51 GB, free: 5.047 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5102, allocations: 8.156 kB / 1.51 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5103, allocations: 0 / 1.51 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.5104, allocations: 39.92 kB / 1.51 GB, free: 5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5104, allocations: 3.984 kB / 1.51 GB, free: 4.996 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.5106, allocations: 23.84 kB / 1.51 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.5106, allocations: 15.97 kB / 1.51 GB, free: 4.957 MB / 1.201 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.0001479/0.5108, allocations: 153.8 kB / 1.51 GB, free: 4.797 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.5108, allocations: 27.81 kB / 1.51 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.5112, allocations: 212.2 kB / 1.511 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5112, allocations: 0 / 1.511 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5112, allocations: 0 / 1.511 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5112, allocations: 7.984 kB / 1.511 GB, free: 4.547 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5123, allocations: 0.6476 MB / 1.511 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.5123, allocations: 8 kB / 1.511 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5124, allocations: 31.91 kB / 1.511 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5124, allocations: 4 kB / 1.511 GB, free: 3.785 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5125, allocations: 4.219 kB / 1.511 GB, free: 3.781 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5125, allocations: 7.938 kB / 1.511 GB, free: 3.773 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.5125, allocations: 4 kB / 1.511 GB, free: 3.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.5129, allocations: 340.9 kB / 1.512 GB, free: 3.402 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.513, allocations: 55.7 kB / 1.512 GB, free: 3.348 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5131, allocations: 4 kB / 1.512 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5132, allocations: 15.92 kB / 1.512 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5132, allocations: 15.98 kB / 1.512 GB, free: 3.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5133, allocations: 11.94 kB / 1.512 GB, free: 3.301 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002143/0.5135, allocations: 219 kB / 1.512 GB, free: 3.086 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5135, allocations: 0 / 1.512 GB, free: 3.086 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000359/0.5138, allocations: 71.89 kB / 1.512 GB, free: 3.016 MB / 1.201 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.0002198/0.5141, allocations: 135.1 kB / 1.512 GB, free: 2.871 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.5144, allocations: 155.8 kB / 1.512 GB, free: 2.719 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5144, allocations: 0 / 1.512 GB, free: 2.719 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.5146, allocations: 84.58 kB / 1.512 GB, free: 2.637 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.5154, allocations: 143.1 kB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.5163, allocations: 0.5775 MB / 1.513 GB, free: 1.871 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.5167, allocations: 0.7795 MB / 1.514 GB, free: 1.062 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.5168, allocations: 27.44 kB / 1.514 GB, free: 1.035 MB / 1.201 GB Notification: Performance of SimCode: time 2.91e-07/0.5168, allocations: 0 / 1.514 GB, free: 1.035 MB / 1.201 GB Notification: Performance of Templates: time 0.007607/0.5244, allocations: 4.578 MB / 1.518 GB, free: 12.5 MB / 1.217 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 -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: 11.068108127015876]