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.002067/0.002067, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002475/0.002475, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.339/3.339, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002083/0.002083, allocations: 62.75 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.442, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2187/0.6607, allocations: 149.5 MB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009798/0.6705, allocations: 6.692 MB / 1.48 GB, free: 4.18 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000745/0.6713, allocations: 19.81 kB / 1.48 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.6721, allocations: 214.6 kB / 1.48 GB, free: 3.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.674, allocations: 0.5805 MB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.6755, allocations: 446.6 kB / 1.481 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.6766, allocations: 0.7168 MB / 1.482 GB, free: 2.215 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.6771, allocations: 219.4 kB / 1.482 GB, free: 2 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.6784, allocations: 0.5487 MB / 1.482 GB, free: 1.449 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.6787, allocations: 231 kB / 1.483 GB, free: 1.223 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.6787, allocations: 20 kB / 1.483 GB, free: 1.203 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.6799, allocations: 0.5807 MB / 1.483 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.6801, allocations: 111.7 kB / 1.483 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.6803, allocations: 135.3 kB / 1.483 GB, free: 388 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.6813, allocations: 0.5567 MB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6813, allocations: 0 / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6813, allocations: 0 / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.6813, allocations: 3.984 kB / 1.484 GB, free: 15.81 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.0011/0.6824, allocations: 0.5823 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6824, allocations: 8.031 kB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.6828, allocations: 63.7 kB / 1.485 GB, free: 15.13 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.6834, allocations: 263.9 kB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6835, allocations: 16.44 kB / 1.485 GB, free: 14.83 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.6835, allocations: 24 kB / 1.485 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.6841, allocations: 296.6 kB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6841, allocations: 0 / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.6841, allocations: 15.94 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.6842, allocations: 8 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.6846, allocations: 183.5 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.6866, allocations: 1.47 MB / 1.487 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.6869, allocations: 90.48 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.6871, allocations: 72.86 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.6873, allocations: 39.97 kB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.6873, allocations: 34.5 kB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.6873, allocations: 0 / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0008292/0.6882, allocations: 221.3 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.6882, allocations: 55.41 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.6886, allocations: 276.5 kB / 1.488 GB, free: 11.9 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6886, allocations: 33.7 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6888, allocations: 200.1 kB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.6888, allocations: 39.69 kB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.6889, allocations: 53.66 kB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6891, allocations: 334.8 kB / 1.488 GB, free: 11.23 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.6893, allocations: 56.83 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.6897, allocations: 379.6 kB / 1.489 GB, free: 10.7 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.6901, allocations: 233.5 kB / 1.489 GB, free: 10.42 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6901, allocations: 0 / 1.489 GB, free: 10.42 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000487/0.6906, allocations: 249.4 kB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6906, allocations: 11.94 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6906, allocations: 3.938 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.6906, allocations: 11.94 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6908, allocations: 43.97 kB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6908, allocations: 7.938 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.6911, allocations: 39.77 kB / 1.489 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.6911, allocations: 16 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002559/0.6914, allocations: 172.1 kB / 1.489 GB, free: 9.863 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004055/0.6918, allocations: 377 kB / 1.49 GB, free: 9.391 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003809/0.6921, allocations: 237.5 kB / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.6921, allocations: 0 / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004921/0.6926, allocations: 245.2 kB / 1.49 GB, free: 8.863 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.6926, allocations: 8 kB / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6927, allocations: 7.938 kB / 1.49 GB, free: 8.848 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.6927, allocations: 4 kB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.6928, allocations: 43.92 kB / 1.49 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.6928, allocations: 11.92 kB / 1.49 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.6931, allocations: 32.31 kB / 1.49 GB, free: 8.758 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.6931, 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.0001838/0.6933, allocations: 200.1 kB / 1.49 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.6934, allocations: 31.75 kB / 1.49 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.6938, allocations: 155.4 kB / 1.491 GB, free: 8.359 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6938, allocations: 4 kB / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6938, allocations: 0 / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6938, allocations: 0 / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6948, allocations: 0.5464 MB / 1.491 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6948, allocations: 0 / 1.491 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.6949, allocations: 23.98 kB / 1.491 GB, free: 7.727 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6949, allocations: 4 kB / 1.491 GB, free: 7.723 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.695, allocations: 4.219 kB / 1.491 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.695, allocations: 4 kB / 1.491 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.695, allocations: 7.938 kB / 1.491 GB, free: 7.707 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.6954, allocations: 301.2 kB / 1.491 GB, free: 7.375 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.6955, allocations: 31.78 kB / 1.492 GB, free: 7.344 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.6955, allocations: 4 kB / 1.492 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.6957, allocations: 11.98 kB / 1.492 GB, free: 7.328 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.6958, allocations: 19.92 kB / 1.492 GB, free: 7.309 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.6958, allocations: 4 kB / 1.492 GB, free: 7.305 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002226/0.696, allocations: 195.1 kB / 1.492 GB, free: 7.113 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.696, allocations: 0 / 1.492 GB, free: 7.113 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006766/0.6967, allocations: 143.7 kB / 1.492 GB, free: 6.973 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.0003447/0.697, allocations: 159.1 kB / 1.492 GB, free: 6.805 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.6977, allocations: 236.5 kB / 1.492 GB, free: 6.574 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6977, allocations: 0 / 1.492 GB, free: 6.574 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.6978, allocations: 63.84 kB / 1.492 GB, free: 6.512 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.6985, allocations: 93.62 kB / 1.492 GB, free: 6.426 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6996, allocations: 0.4894 MB / 1.493 GB, free: 5.887 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.6998, allocations: 175.8 kB / 1.493 GB, free: 5.691 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.7, allocations: 82.16 kB / 1.493 GB, free: 5.613 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.7001, allocations: 27.42 kB / 1.493 GB, free: 5.586 MB / 1.186 GB Notification: Performance of SimCode: time 6.51e-07/0.7001, allocations: 0 / 1.493 GB, free: 5.586 MB / 1.186 GB Notification: Performance of Templates: time 0.01066/0.7107, allocations: 4.657 MB / 1.498 GB, free: 1.043 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 cvode -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: 10.143017524998868]