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.001857/0.001857, allocations: 104.3 kB / 19.7 MB, free: 2.148 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.002272/0.002272, allocations: 213.1 kB / 22.99 MB, free: 4.965 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002085/0.002085, allocations: 70.86 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1879/0.4874, allocations: 147.8 MB / 1.471 GB, free: 12.56 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008207/0.4956, allocations: 6.016 MB / 1.477 GB, free: 6.527 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.4961, allocations: 19.81 kB / 1.477 GB, free: 6.508 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.4966, allocations: 182.7 kB / 1.477 GB, free: 6.328 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.4989, allocations: 0.8363 MB / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.4998, allocations: 340.7 kB / 1.479 GB, free: 5.156 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008972/0.5007, allocations: 0.7212 MB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.5011, allocations: 231.2 kB / 1.48 GB, free: 4.203 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.5027, allocations: 0.7201 MB / 1.48 GB, free: 3.48 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.5032, allocations: 278.9 kB / 1.481 GB, free: 3.207 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.5032, allocations: 24 kB / 1.481 GB, free: 3.184 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.5038, allocations: 295.3 kB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.5039, allocations: 111.6 kB / 1.481 GB, free: 2.785 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.5041, allocations: 127.4 kB / 1.481 GB, free: 2.66 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.5047, allocations: 474.2 kB / 1.482 GB, free: 2.195 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5047, allocations: 0 / 1.482 GB, free: 2.195 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5047, allocations: 4 kB / 1.482 GB, free: 2.191 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.5048, allocations: 0 / 1.482 GB, free: 2.191 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.001/0.5058, allocations: 0.5594 MB / 1.482 GB, free: 1.602 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5058, allocations: 8.031 kB / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.5061, allocations: 59.73 kB / 1.482 GB, free: 1.535 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.5067, allocations: 255.6 kB / 1.482 GB, free: 1.254 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.5067, allocations: 20.66 kB / 1.482 GB, free: 1.234 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.5068, allocations: 27.94 kB / 1.482 GB, free: 1.207 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.5074, allocations: 312.9 kB / 1.483 GB, free: 0.875 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5074, allocations: 3.938 kB / 1.483 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.5074, allocations: 16 kB / 1.483 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5074, allocations: 8 kB / 1.483 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.5079, allocations: 205.6 kB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.5093, allocations: 1.129 MB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.5096, allocations: 114.5 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.5098, allocations: 88.73 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/0.5104, allocations: 67.92 kB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.5104, allocations: 38.56 kB / 1.484 GB, free: 15.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 5.731e-06/0.5104, allocations: 7.984 kB / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0008193/0.5112, allocations: 271.3 kB / 1.485 GB, free: 14.86 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.5113, allocations: 55.41 kB / 1.485 GB, free: 14.79 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.5115, allocations: 225.9 kB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5115, allocations: 29.7 kB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.5117, allocations: 196.1 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.5117, allocations: 43.58 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.5118, allocations: 45.7 kB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.512, allocations: 330.8 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.5121, allocations: 59.95 kB / 1.486 GB, free: 13.85 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.5124, allocations: 187.6 kB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.5127, allocations: 173 kB / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5127, allocations: 0 / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004523/0.5132, allocations: 217.2 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5132, allocations: 8 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5132, allocations: 3.984 kB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5132, allocations: 4 kB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.5134, allocations: 32.14 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5134, allocations: 7.938 kB / 1.486 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.5136, allocations: 19.94 kB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.5136, allocations: 4 kB / 1.486 GB, free: 13.15 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.0001583/0.5138, allocations: 153.8 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.5138, allocations: 23.8 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.5143, allocations: 207.3 kB / 1.487 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5143, allocations: 4 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5143, allocations: 0 / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5143, allocations: 0 / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5154, allocations: 0.5973 MB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5154, allocations: 4.219 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.5155, allocations: 31.92 kB / 1.487 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5155, allocations: 4 kB / 1.487 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.5155, allocations: 4 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5155, allocations: 4 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5155, allocations: 4 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.516, allocations: 332.1 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.5161, allocations: 39.78 kB / 1.488 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.5161, allocations: 11.94 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5163, allocations: 15.98 kB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.5163, allocations: 11.92 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5164, allocations: 4 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001732/0.5165, allocations: 169.2 kB / 1.488 GB, free: 11.44 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5165, allocations: 0 / 1.488 GB, free: 11.44 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004865/0.517, allocations: 79.78 kB / 1.488 GB, free: 11.36 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.0002542/0.5173, allocations: 147.1 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.5177, allocations: 143.8 kB / 1.488 GB, free: 11.07 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5177, allocations: 0 / 1.488 GB, free: 11.07 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.5179, allocations: 92.44 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.5185, allocations: 87.16 kB / 1.488 GB, free: 10.89 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.5194, allocations: 0.5408 MB / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.5196, allocations: 171.5 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.5198, allocations: 53.94 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.5198, allocations: 19.44 kB / 1.489 GB, free: 10.05 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.5198, allocations: 0 / 1.489 GB, free: 10.05 MB / 1.186 GB Notification: Performance of Templates: time 0.00919/0.529, allocations: 4.154 MB / 1.493 GB, free: 5.996 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 gbode -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: 9.098776842991356]