Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.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.001397/0.001397, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001645/0.001645, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.781 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.326/3.326, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure") [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.002108/0.002108, allocations: 73.41 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4267, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2199/0.6466, allocations: 149.5 MB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.6572, allocations: 6.704 MB / 1.478 GB, free: 5 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009263/0.6581, allocations: 15.88 kB / 1.478 GB, free: 4.984 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6591, allocations: 218.5 kB / 1.478 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.6611, allocations: 0.5717 MB / 1.479 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.6626, allocations: 441.5 kB / 1.479 GB, free: 3.766 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.6637, allocations: 0.7129 MB / 1.48 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.6642, allocations: 215.4 kB / 1.48 GB, free: 2.84 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.6655, allocations: 0.5488 MB / 1.481 GB, free: 2.289 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.6659, allocations: 211.1 kB / 1.481 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.6659, allocations: 23.94 kB / 1.481 GB, free: 2.059 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.667, allocations: 0.5612 MB / 1.482 GB, free: 1.496 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.6671, allocations: 111.7 kB / 1.482 GB, free: 1.387 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.6673, allocations: 131.4 kB / 1.482 GB, free: 1.258 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.6682, allocations: 0.5604 MB / 1.482 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.6682, allocations: 3.984 kB / 1.482 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6682, allocations: 0 / 1.482 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6682, allocations: 0 / 1.482 GB, free: 0.6914 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001011/0.6692, allocations: 0.5783 MB / 1.483 GB, free: 84 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6693, allocations: 8.031 kB / 1.483 GB, free: 76 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.6697, allocations: 71.69 kB / 1.483 GB, free: 4 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.6703, allocations: 256.1 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.6703, allocations: 24.38 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.6704, allocations: 24 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.6709, allocations: 300.6 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.6709, allocations: 7.938 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.6709, allocations: 11.92 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.671, allocations: 8 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.6714, allocations: 179.5 kB / 1.484 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.6731, allocations: 1.466 MB / 1.485 GB, free: 13.6 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.6733, allocations: 86.5 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.6735, allocations: 72.86 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.6737, allocations: 35.97 kB / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.6737, allocations: 34.5 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.6737, allocations: 4 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007022/0.6744, allocations: 221.3 kB / 1.486 GB, free: 13.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.6745, allocations: 59.34 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.6748, allocations: 276.5 kB / 1.486 GB, free: 12.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.6748, allocations: 29.7 kB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.675, allocations: 204.1 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.675, allocations: 47.69 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.6751, allocations: 49.66 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6753, allocations: 334.8 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6754, allocations: 60.81 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.6758, allocations: 371.7 kB / 1.487 GB, free: 11.57 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.6762, allocations: 233.4 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6762, allocations: 0 / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004831/0.6767, allocations: 253.1 kB / 1.487 GB, free: 11.04 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6767, allocations: 13.81 kB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6767, allocations: 4 kB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6768, allocations: 4.406 kB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.677, allocations: 55.91 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.677, allocations: 7.938 kB / 1.488 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.6772, allocations: 35.77 kB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.6772, allocations: 16 kB / 1.488 GB, free: 10.9 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002527/0.6775, allocations: 171.9 kB / 1.488 GB, free: 10.73 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003678/0.6779, allocations: 371.3 kB / 1.488 GB, free: 10.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003978/0.6783, allocations: 237.4 kB / 1.488 GB, free: 9.984 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6783, allocations: 0 / 1.488 GB, free: 9.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004498/0.6787, allocations: 245.5 kB / 1.489 GB, free: 9.738 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.6787, allocations: 8.031 kB / 1.489 GB, free: 9.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6787, allocations: 7.938 kB / 1.489 GB, free: 9.723 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.6787, allocations: 7.938 kB / 1.489 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6789, allocations: 43.92 kB / 1.489 GB, free: 9.672 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6789, allocations: 15.86 kB / 1.489 GB, free: 9.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.6791, allocations: 27.94 kB / 1.489 GB, free: 9.629 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.6792, allocations: 12 kB / 1.489 GB, free: 9.617 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001518/0.6793, allocations: 196.1 kB / 1.489 GB, free: 9.418 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.6794, allocations: 35.75 kB / 1.489 GB, free: 9.383 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.6798, allocations: 159.7 kB / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6798, allocations: 0 / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6798, allocations: 0 / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6798, allocations: 3.984 kB / 1.489 GB, free: 9.219 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009447/0.6807, allocations: 0.5388 MB / 1.49 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6807, allocations: 3.938 kB / 1.49 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6808, allocations: 23.98 kB / 1.49 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6808, allocations: 4 kB / 1.49 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6809, allocations: 4 kB / 1.49 GB, free: 8.586 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6809, allocations: 3.938 kB / 1.49 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6809, allocations: 4 kB / 1.49 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.6813, allocations: 309.4 kB / 1.49 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.6814, allocations: 27.84 kB / 1.49 GB, free: 8.211 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.6814, allocations: 4 kB / 1.49 GB, free: 8.207 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.6816, allocations: 15.98 kB / 1.49 GB, free: 8.191 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.6816, allocations: 15.86 kB / 1.49 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.6816, allocations: 4 kB / 1.49 GB, free: 8.172 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002066/0.6818, allocations: 195.1 kB / 1.49 GB, free: 7.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6818, allocations: 0 / 1.49 GB, free: 7.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005967/0.6824, allocations: 143.7 kB / 1.49 GB, free: 7.84 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 (11): * Single equations (assignments): 11 * 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.0003246/0.6828, allocations: 147.1 kB / 1.49 GB, free: 7.684 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005813/0.6833, allocations: 244.7 kB / 1.491 GB, free: 7.445 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6833, allocations: 320 / 1.491 GB, free: 7.445 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.6835, allocations: 63.84 kB / 1.491 GB, free: 7.383 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.6841, allocations: 93.75 kB / 1.491 GB, free: 7.293 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/0.6851, allocations: 0.4933 MB / 1.491 GB, free: 6.75 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.6853, allocations: 171.8 kB / 1.491 GB, free: 6.559 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.6855, allocations: 78.91 kB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.6856, allocations: 27.42 kB / 1.492 GB, free: 6.457 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.6856, allocations: 0 / 1.492 GB, free: 6.457 MB / 1.186 GB Notification: Performance of Templates: time 0.0104/0.696, allocations: 4.58 MB / 1.496 GB, free: 1.988 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.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.773551311343908]