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.001479/0.001479, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001782/0.001782, allocations: 215.7 kB / 22.25 MB, free: 5.254 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.777 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.324/3.324, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002146/0.002146, allocations: 65.88 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.383, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2079/0.5909, allocations: 147.8 MB / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00908/0.6, allocations: 6.009 MB / 1.476 GB, free: 7.461 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005029/0.6005, allocations: 19.81 kB / 1.476 GB, free: 7.441 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.6011, allocations: 174.7 kB / 1.476 GB, free: 7.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.6036, allocations: 0.8402 MB / 1.477 GB, free: 6.426 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.6047, allocations: 334 kB / 1.477 GB, free: 6.102 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.6059, allocations: 0.7174 MB / 1.478 GB, free: 5.383 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.6064, allocations: 227.2 kB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.6081, allocations: 0.7162 MB / 1.479 GB, free: 4.438 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.6086, allocations: 270.9 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.6087, allocations: 20 kB / 1.479 GB, free: 4.152 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.6093, allocations: 287.3 kB / 1.479 GB, free: 3.871 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.6095, allocations: 107.6 kB / 1.479 GB, free: 3.766 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.6097, allocations: 143.3 kB / 1.479 GB, free: 3.625 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.6105, allocations: 462.3 kB / 1.48 GB, free: 3.172 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6105, allocations: 4 kB / 1.48 GB, free: 3.168 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6105, allocations: 0 / 1.48 GB, free: 3.168 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6105, allocations: 0 / 1.48 GB, free: 3.168 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.001054/0.6116, allocations: 0.5572 MB / 1.48 GB, free: 2.582 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6116, allocations: 12.03 kB / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.612, allocations: 67.72 kB / 1.481 GB, free: 2.504 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.6125, allocations: 259.6 kB / 1.481 GB, free: 2.219 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.6126, allocations: 20.66 kB / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.6126, allocations: 24 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.6132, allocations: 316.9 kB / 1.481 GB, free: 1.84 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.6132, allocations: 3.938 kB / 1.481 GB, free: 1.836 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.6133, allocations: 12 kB / 1.481 GB, free: 1.824 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.6133, allocations: 4 kB / 1.481 GB, free: 1.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.6138, allocations: 201.6 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.6154, allocations: 1.133 MB / 1.482 GB, free: 444 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.6157, allocations: 111.9 kB / 1.483 GB, free: 324 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.6159, allocations: 88.73 kB / 1.483 GB, free: 232 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004855/0.6164, allocations: 71.92 kB / 1.483 GB, free: 160 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6164, allocations: 38.48 kB / 1.483 GB, free: 112 kB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.6164, allocations: 3.938 kB / 1.483 GB, free: 108 kB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008042/0.6172, allocations: 265.7 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.6172, allocations: 51.41 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.6175, allocations: 229.9 kB / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.6176, allocations: 29.7 kB / 1.483 GB, free: 15.51 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.6177, allocations: 192.1 kB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.6178, allocations: 51.58 kB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.6179, allocations: 37.61 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.618, allocations: 334.8 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.6182, allocations: 55.95 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.6184, allocations: 200.2 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.6188, allocations: 173 kB / 1.484 GB, free: 14.42 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6188, allocations: 0 / 1.484 GB, free: 14.42 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004573/0.6193, allocations: 217.3 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6193, allocations: 7.984 kB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6193, allocations: 8 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6193, allocations: 0 / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.6195, allocations: 39.92 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6195, allocations: 0 / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.6196, allocations: 15.98 kB / 1.485 GB, free: 14.13 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.6197, allocations: 15.98 kB / 1.485 GB, free: 14.11 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.0001659/0.6198, allocations: 157.7 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.6199, allocations: 27.83 kB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.6203, allocations: 204.7 kB / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6203, allocations: 4 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6203, allocations: 0 / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6203, allocations: 0 / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.6214, allocations: 0.5973 MB / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6214, allocations: 0 / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.6216, allocations: 31.92 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6216, allocations: 0 / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.6216, allocations: 4 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.6216, allocations: 4 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6216, allocations: 0 / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.6221, allocations: 343.8 kB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.6222, allocations: 39.78 kB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.6222, allocations: 4 kB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.6224, allocations: 7.984 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.6224, allocations: 23.86 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6224, allocations: 8.062 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001914/0.6226, allocations: 165.2 kB / 1.486 GB, free: 12.41 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6226, allocations: 0 / 1.486 GB, free: 12.41 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000467/0.6231, allocations: 83.72 kB / 1.486 GB, free: 12.32 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.000398/0.6235, allocations: 135.1 kB / 1.486 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005262/0.624, allocations: 152 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.624, allocations: 0 / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.6242, allocations: 83.81 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.6249, allocations: 80.92 kB / 1.487 GB, free: 11.87 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.626, allocations: 0.5445 MB / 1.487 GB, free: 11.28 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6263, allocations: 175.4 kB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.6264, allocations: 58.02 kB / 1.487 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.6265, allocations: 19.44 kB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of SimCode: time 6.21e-07/0.6265, allocations: 0 / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of Templates: time 0.00945/0.636, allocations: 4.1 MB / 1.491 GB, free: 7.016 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 -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/jenkins/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.816067580133677]