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.001065/0.001065, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009808/0.0009808, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8776/0.8776, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.789e-05/5.108e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6468/0.6468, allocations: 149.5 MB / 1.128 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006202/0.653, allocations: 6.663 MB / 1.135 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.6536, allocations: 15.66 kB / 1.135 GB, free: 7.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006357/0.6543, allocations: 219.6 kB / 1.135 GB, free: 7.523 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.6557, allocations: 0.6044 MB / 1.136 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.6568, allocations: 471.9 kB / 1.136 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00099/0.6578, allocations: 0.7157 MB / 1.137 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.6583, allocations: 207.5 kB / 1.137 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.6594, allocations: 0.6347 MB / 1.137 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.6597, allocations: 190.9 kB / 1.138 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.6597, allocations: 19.25 kB / 1.138 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.6607, allocations: 0.5709 MB / 1.138 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.6609, allocations: 114.4 kB / 1.138 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.661, allocations: 108.9 kB / 1.138 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.662, allocations: 0.5894 MB / 1.139 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.662, allocations: 0 / 1.139 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.435e-06/0.662, allocations: 0 / 1.139 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.662, allocations: 1.188 kB / 1.139 GB, free: 5.742 MB / 0.9948 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.0008512/0.6629, allocations: 0.576 MB / 1.14 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6629, allocations: 9.094 kB / 1.14 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.6632, allocations: 66.5 kB / 1.14 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.6637, allocations: 275.8 kB / 1.14 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.6637, allocations: 18.34 kB / 1.14 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.6637, allocations: 23.58 kB / 1.14 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.6641, allocations: 301.5 kB / 1.14 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6641, allocations: 1.031 kB / 1.14 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.6641, allocations: 10.22 kB / 1.14 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.6642, allocations: 10.38 kB / 1.14 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.6644, allocations: 186 kB / 1.14 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.6656, allocations: 1.453 MB / 1.142 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.6658, allocations: 81.44 kB / 1.142 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.666, allocations: 77.31 kB / 1.142 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.6661, allocations: 33.06 kB / 1.142 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.6661, allocations: 36.3 kB / 1.142 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 3.327e-06/0.6661, allocations: 3.938 kB / 1.142 GB, free: 3.422 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0005289/0.6667, allocations: 227.2 kB / 1.142 GB, free: 3.332 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.6667, allocations: 56.69 kB / 1.142 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.6669, allocations: 274.4 kB / 1.143 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.667, allocations: 30.86 kB / 1.143 GB, free: 3.074 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.6671, allocations: 209.2 kB / 1.143 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.6671, allocations: 39.75 kB / 1.143 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.6672, allocations: 44.61 kB / 1.143 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.6672, allocations: 337 kB / 1.143 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6673, allocations: 58.3 kB / 1.143 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.6675, allocations: 386 kB / 1.144 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.6678, allocations: 235.2 kB / 1.144 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6678, allocations: 1.031 kB / 1.144 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003627/0.6682, allocations: 249.2 kB / 1.144 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6682, allocations: 6.406 kB / 1.144 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6682, allocations: 4.469 kB / 1.144 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6682, allocations: 5.344 kB / 1.144 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.6684, allocations: 50.39 kB / 1.144 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.6684, allocations: 5.25 kB / 1.144 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6685, allocations: 30.03 kB / 1.144 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.6686, allocations: 22.33 kB / 1.144 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001893/0.6688, allocations: 172.9 kB / 1.144 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001877/0.6689, allocations: 374.6 kB / 1.145 GB, free: 1.254 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002522/0.6692, allocations: 233.6 kB / 1.145 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.6692, allocations: 5.031 kB / 1.145 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003511/0.6696, allocations: 248.1 kB / 1.145 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6696, allocations: 8.453 kB / 1.145 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6696, allocations: 3.469 kB / 1.145 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.6696, allocations: 5.75 kB / 1.145 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6697, allocations: 46.2 kB / 1.145 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.6697, allocations: 13 kB / 1.145 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.6699, allocations: 30.66 kB / 1.145 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.6699, allocations: 15.27 kB / 1.145 GB, free: 0.9336 MB / 0.9948 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 9.67e-05/0.67, allocations: 196.1 kB / 1.146 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.67, allocations: 27.69 kB / 1.146 GB, free: 0.7266 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.6703, allocations: 162.1 kB / 1.146 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6703, allocations: 0.8438 kB / 1.146 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6704, allocations: 9.859 kB / 1.146 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6704, allocations: 0 / 1.146 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.6711, allocations: 0.5315 MB / 1.146 GB, free: 268 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6711, allocations: 8.688 kB / 1.146 GB, free: 264 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.6711, allocations: 27.81 kB / 1.146 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.6712, allocations: 3.281 kB / 1.146 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6712, allocations: 3.281 kB / 1.146 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.6712, allocations: 6.922 kB / 1.146 GB, free: 256 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6712, allocations: 2.188 kB / 1.146 GB, free: 256 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.6714, allocations: 297 kB / 1.147 GB, free: 20 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6715, allocations: 39.67 kB / 1.147 GB, free: 15.99 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.6716, allocations: 4.047 kB / 1.147 GB, free: 15.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.6717, allocations: 17.86 kB / 1.147 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.6717, allocations: 9.766 kB / 1.147 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6717, allocations: 4.125 kB / 1.147 GB, free: 15.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000181/0.6719, allocations: 199.1 kB / 1.147 GB, free: 15.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6719, allocations: 1.375 kB / 1.147 GB, free: 15.87 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005607/0.6725, allocations: 139.5 kB / 1.147 GB, free: 15.84 MB / 1.01 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.6728, allocations: 159.4 kB / 1.147 GB, free: 15.73 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.6733, allocations: 244.9 kB / 1.147 GB, free: 15.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6733, allocations: 0 / 1.147 GB, free: 15.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.6734, allocations: 57.75 kB / 1.147 GB, free: 15.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.6739, allocations: 96.72 kB / 1.148 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.6747, allocations: 0.5265 MB / 1.148 GB, free: 15.24 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.6748, allocations: 168.7 kB / 1.148 GB, free: 15.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.6749, allocations: 25.36 kB / 1.148 GB, free: 15.15 MB / 1.01 GB Notification: Performance of SimCode: time 1.283e-06/0.6749, allocations: 0 / 1.148 GB, free: 15.15 MB / 1.01 GB Notification: Performance of Templates: time 0.008068/0.683, allocations: 4.212 MB / 1.152 GB, free: 14.71 MB / 1.01 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: 7.882085546851158]