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.001716/0.001716, 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.002094/0.002094, allocations: 215.9 kB / 23 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.002063/0.002063, allocations: 66.05 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1982/0.5262, allocations: 149.5 MB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009456/0.5356, allocations: 6.706 MB / 1.48 GB, free: 4.164 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.5361, allocations: 19.81 kB / 1.48 GB, free: 4.145 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.5369, allocations: 214.6 kB / 1.48 GB, free: 3.934 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.5386, allocations: 0.5794 MB / 1.48 GB, free: 3.352 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.54, allocations: 440.7 kB / 1.481 GB, free: 2.922 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.5411, allocations: 0.7206 MB / 1.482 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.5416, allocations: 215.4 kB / 1.482 GB, free: 1.988 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.5428, allocations: 0.5488 MB / 1.482 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.5432, allocations: 227 kB / 1.483 GB, free: 1.215 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.5432, allocations: 20 kB / 1.483 GB, free: 1.195 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.5443, allocations: 0.5846 MB / 1.483 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.5444, allocations: 115.6 kB / 1.483 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.5446, allocations: 131.4 kB / 1.483 GB, free: 376 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.5456, allocations: 0.5527 MB / 1.484 GB, free: 15.81 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.5456, allocations: 7.938 kB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5456, allocations: 4 kB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5456, allocations: 0 / 1.484 GB, free: 15.8 MB / 1.186 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.001065/0.5467, allocations: 0.5745 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5467, allocations: 8.031 kB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.5471, allocations: 63.72 kB / 1.485 GB, free: 15.12 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.5477, allocations: 264 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5477, allocations: 16.44 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.5477, allocations: 24 kB / 1.485 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.5483, allocations: 300.6 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5483, allocations: 4 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.5483, allocations: 15.88 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.5483, allocations: 8 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.5487, allocations: 179.5 kB / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5505, allocations: 1.466 MB / 1.487 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.5508, allocations: 82.56 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.5509, allocations: 76.84 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.5512, allocations: 31.98 kB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5512, allocations: 42.44 kB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.5512, allocations: 0 / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007344/0.5519, allocations: 221.3 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.552, allocations: 59.39 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.5523, allocations: 276.5 kB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.5523, allocations: 29.7 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5525, allocations: 208.1 kB / 1.488 GB, free: 11.65 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.5525, allocations: 35.69 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.5526, allocations: 53.66 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5528, allocations: 334.8 kB / 1.488 GB, free: 11.22 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.553, allocations: 60.81 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.5534, allocations: 374.8 kB / 1.489 GB, free: 10.69 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.5538, allocations: 237.5 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5538, allocations: 8 kB / 1.489 GB, free: 10.4 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000514/0.5543, allocations: 245.1 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5543, allocations: 11.94 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.5543, allocations: 4.406 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5543, allocations: 8 kB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5545, allocations: 47.91 kB / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5546, allocations: 4 kB / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.5548, allocations: 39.75 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.5548, allocations: 16 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000253/0.5551, allocations: 167.9 kB / 1.489 GB, free: 9.855 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003706/0.5555, allocations: 375.2 kB / 1.49 GB, free: 9.387 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000381/0.5558, allocations: 233.5 kB / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.5558, allocations: 0 / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004863/0.5563, allocations: 257.5 kB / 1.49 GB, free: 8.852 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.5563, allocations: 4 kB / 1.49 GB, free: 8.848 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5563, allocations: 7.938 kB / 1.49 GB, free: 8.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.5563, allocations: 8 kB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.5565, allocations: 43.91 kB / 1.49 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5565, allocations: 8 kB / 1.49 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5568, allocations: 23.94 kB / 1.49 GB, free: 8.758 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.5568, allocations: 8 kB / 1.49 GB, free: 8.75 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.000142/0.5569, allocations: 208.2 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.557, allocations: 35.73 kB / 1.49 GB, free: 8.504 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.5574, allocations: 163.4 kB / 1.491 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5574, allocations: 0 / 1.491 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5574, allocations: 0 / 1.491 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5574, allocations: 0 / 1.491 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.5583, allocations: 0.5349 MB / 1.491 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5583, allocations: 4 kB / 1.491 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5584, allocations: 23.92 kB / 1.491 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5584, allocations: 4 kB / 1.491 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5585, allocations: 7.938 kB / 1.491 GB, free: 7.707 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5585, allocations: 0 / 1.491 GB, free: 7.707 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5585, allocations: 7.984 kB / 1.491 GB, free: 7.699 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.5589, allocations: 309.9 kB / 1.491 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.559, allocations: 31.84 kB / 1.492 GB, free: 7.328 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.559, allocations: 0 / 1.492 GB, free: 7.328 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5592, allocations: 11.98 kB / 1.492 GB, free: 7.316 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.5592, allocations: 19.92 kB / 1.492 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5592, allocations: 4 kB / 1.492 GB, free: 7.293 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000199/0.5594, allocations: 199.1 kB / 1.492 GB, free: 7.098 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5594, allocations: 0 / 1.492 GB, free: 7.098 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005937/0.56, allocations: 147.7 kB / 1.492 GB, free: 6.953 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.000268/0.5603, allocations: 145.7 kB / 1.492 GB, free: 6.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.5609, allocations: 237.7 kB / 1.492 GB, free: 6.57 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5609, allocations: 4.062 kB / 1.492 GB, free: 6.566 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.5611, allocations: 67.83 kB / 1.492 GB, free: 6.5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.5617, allocations: 97.31 kB / 1.492 GB, free: 6.406 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.5625, allocations: 0.4933 MB / 1.493 GB, free: 5.863 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5627, allocations: 171.8 kB / 1.493 GB, free: 5.672 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.5629, allocations: 78.2 kB / 1.493 GB, free: 5.598 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.563, allocations: 23.44 kB / 1.493 GB, free: 5.574 MB / 1.186 GB Notification: Performance of SimCode: time 3.2e-07/0.563, allocations: 4 kB / 1.493 GB, free: 5.57 MB / 1.186 GB Notification: Performance of Templates: time 0.009357/0.5723, allocations: 4.651 MB / 1.498 GB, free: 1.031 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 -s gbode -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/jenkins1/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: 8.966913921991363]