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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 190.5 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.327/3.327, allocations: 495.8 MB / 0.783 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 64.98 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4222, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2167/0.6389, allocations: 168.4 MB / 1.471 GB, free: 8.797 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.6499, allocations: 7.343 MB / 1.478 GB, free: 1.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006326/0.6506, allocations: 19.81 kB / 1.478 GB, free: 1.41 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.6515, allocations: 218.5 kB / 1.479 GB, free: 1.195 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.6533, allocations: 0.6029 MB / 1.479 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.6548, allocations: 450.7 kB / 1.48 GB, free: 156 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.6561, allocations: 0.7129 MB / 1.48 GB, free: 15.44 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.6566, allocations: 215.6 kB / 1.481 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.6579, allocations: 0.5371 MB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.6583, allocations: 238.9 kB / 1.481 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.6584, allocations: 20 kB / 1.481 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.6596, allocations: 0.5768 MB / 1.482 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.6598, allocations: 111.6 kB / 1.482 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.66, allocations: 159.2 kB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.6611, allocations: 0.5565 MB / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6612, allocations: 0 / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6612, allocations: 0 / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.6612, allocations: 0 / 1.483 GB, free: 13.04 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.001145/0.6623, allocations: 0.5784 MB / 1.483 GB, free: 12.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6624, allocations: 8.031 kB / 1.483 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.6628, allocations: 67.67 kB / 1.483 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.6633, allocations: 260 kB / 1.484 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.6634, allocations: 16.44 kB / 1.484 GB, free: 12.05 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.6634, allocations: 24 kB / 1.484 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.664, allocations: 296.6 kB / 1.484 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.664, allocations: 4 kB / 1.484 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.664, allocations: 11.92 kB / 1.484 GB, free: 11.68 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.664, allocations: 11.94 kB / 1.484 GB, free: 11.67 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.6645, allocations: 171.8 kB / 1.484 GB, free: 11.5 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.6664, allocations: 1.656 MB / 1.486 GB, free: 9.734 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.6667, allocations: 86.56 kB / 1.486 GB, free: 9.641 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.6669, allocations: 76.8 kB / 1.486 GB, free: 9.562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.6671, allocations: 35.91 kB / 1.486 GB, free: 9.527 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.6671, allocations: 34.56 kB / 1.486 GB, free: 9.484 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.6671, allocations: 0 / 1.486 GB, free: 9.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007763/0.6679, allocations: 225.3 kB / 1.486 GB, free: 9.258 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.668, allocations: 51.41 kB / 1.486 GB, free: 9.195 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.6683, allocations: 328.4 kB / 1.486 GB, free: 8.863 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.6684, allocations: 25.7 kB / 1.486 GB, free: 8.832 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.6685, allocations: 200.1 kB / 1.487 GB, free: 8.633 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.6686, allocations: 43.64 kB / 1.487 GB, free: 8.59 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.6687, allocations: 49.7 kB / 1.487 GB, free: 8.535 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6688, allocations: 338.8 kB / 1.487 GB, free: 8.195 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.669, allocations: 60.75 kB / 1.487 GB, free: 8.133 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.6693, allocations: 197.1 kB / 1.487 GB, free: 7.879 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.6697, allocations: 237.4 kB / 1.488 GB, free: 7.598 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6697, allocations: 0 / 1.488 GB, free: 7.598 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005574/0.6703, allocations: 257.1 kB / 1.488 GB, free: 7.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6703, allocations: 8.781 kB / 1.488 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6703, allocations: 0 / 1.488 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.6703, allocations: 12.34 kB / 1.488 GB, free: 7.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.6705, allocations: 47.92 kB / 1.488 GB, free: 7.273 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.6706, allocations: 12.05 kB / 1.488 GB, free: 7.262 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.6708, allocations: 35.77 kB / 1.488 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.6709, allocations: 12 kB / 1.488 GB, free: 7.215 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002663/0.6711, allocations: 172 kB / 1.488 GB, free: 7.043 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002902/0.6714, allocations: 200.9 kB / 1.488 GB, free: 6.785 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004028/0.6718, allocations: 233.5 kB / 1.489 GB, free: 6.508 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.6718, allocations: 4 kB / 1.489 GB, free: 6.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005174/0.6723, allocations: 249.1 kB / 1.489 GB, free: 6.254 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6724, allocations: 7.938 kB / 1.489 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6724, allocations: 4 kB / 1.489 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.6724, allocations: 4.406 kB / 1.489 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.6726, allocations: 55.91 kB / 1.489 GB, free: 6.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6726, allocations: 4 kB / 1.489 GB, free: 6.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.6728, allocations: 31.88 kB / 1.489 GB, free: 6.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.6729, allocations: 8 kB / 1.489 GB, free: 6.141 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.0001503/0.673, allocations: 204.1 kB / 1.489 GB, free: 5.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.6731, allocations: 31.75 kB / 1.489 GB, free: 5.902 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.6735, allocations: 172.3 kB / 1.489 GB, free: 5.727 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6735, allocations: 4 kB / 1.489 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6735, allocations: 4 kB / 1.489 GB, free: 5.719 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6735, allocations: 0 / 1.489 GB, free: 5.719 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.6746, allocations: 0.5811 MB / 1.49 GB, free: 5.066 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.6746, allocations: 0 / 1.49 GB, free: 5.066 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.6747, allocations: 27.92 kB / 1.49 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6747, allocations: 0 / 1.49 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6747, allocations: 8 kB / 1.49 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6748, allocations: 7.984 kB / 1.49 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6748, allocations: 8.156 kB / 1.49 GB, free: 5.016 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.6752, allocations: 301.7 kB / 1.49 GB, free: 4.684 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.6753, allocations: 39.8 kB / 1.49 GB, free: 4.645 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.6753, allocations: 4 kB / 1.49 GB, free: 4.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.6755, allocations: 11.92 kB / 1.49 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.6756, allocations: 20.11 kB / 1.49 GB, free: 4.609 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6756, allocations: 11.94 kB / 1.49 GB, free: 4.598 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002579/0.6759, allocations: 227 kB / 1.49 GB, free: 4.379 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6759, allocations: 0 / 1.49 GB, free: 4.379 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006433/0.6765, allocations: 135.8 kB / 1.491 GB, free: 4.246 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.000427/0.6769, allocations: 162.5 kB / 1.491 GB, free: 4.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006705/0.6776, allocations: 243.9 kB / 1.491 GB, free: 3.852 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6776, allocations: 0 / 1.491 GB, free: 3.852 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.6778, allocations: 61.08 kB / 1.491 GB, free: 3.793 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.6786, allocations: 124.3 kB / 1.491 GB, free: 3.672 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.6796, allocations: 0.5049 MB / 1.492 GB, free: 3.121 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.68, allocations: 0.7756 MB / 1.492 GB, free: 2.32 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.6803, allocations: 87.53 kB / 1.493 GB, free: 2.234 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.6804, allocations: 23.44 kB / 1.493 GB, free: 2.211 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.6804, allocations: 0 / 1.493 GB, free: 2.211 MB / 1.186 GB Notification: Performance of Templates: time 0.01154/0.6919, allocations: 5.056 MB / 1.497 GB, free: 13.23 MB / 1.201 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.858853112906218]