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.001856/0.001856, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.002283/0.002283, allocations: 155.9 kB / 23.01 MB, free: 4.961 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: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.822/2.822, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.003073/0.003073, allocations: 59.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.9301, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2056/1.136, allocations: 149.5 MB / 1.3 GB, free: 12.62 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009794/1.146, allocations: 6.715 MB / 1.307 GB, free: 7.801 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/1.146, allocations: 16.47 kB / 1.307 GB, free: 7.793 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007895/1.147, allocations: 212.2 kB / 1.307 GB, free: 7.617 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/1.149, allocations: 0.5849 MB / 1.307 GB, free: 7.176 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/1.15, allocations: 442.1 kB / 1.308 GB, free: 6.863 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001083/1.151, allocations: 0.7108 MB / 1.308 GB, free: 6.457 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/1.151, allocations: 211.9 kB / 1.309 GB, free: 6.316 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/1.153, allocations: 0.5469 MB / 1.309 GB, free: 5.977 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/1.153, allocations: 215.3 kB / 1.309 GB, free: 5.855 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/1.153, allocations: 18.38 kB / 1.309 GB, free: 5.855 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/1.154, allocations: 0.5637 MB / 1.31 GB, free: 5.562 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/1.154, allocations: 113.8 kB / 1.31 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/1.154, allocations: 131.7 kB / 1.31 GB, free: 5.414 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009215/1.155, allocations: 0.5577 MB / 1.311 GB, free: 5.078 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.155, allocations: 1.188 kB / 1.311 GB, free: 5.078 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.402e-06/1.155, allocations: 0 / 1.311 GB, free: 5.078 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.155, allocations: 0 / 1.311 GB, free: 5.078 MB / 1.154 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.001027/1.156, allocations: 0.5843 MB / 1.311 GB, free: 4.578 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/1.156, allocations: 9.344 kB / 1.311 GB, free: 4.578 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/1.157, allocations: 63.38 kB / 1.311 GB, free: 4.547 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/1.157, allocations: 259.2 kB / 1.312 GB, free: 4.324 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.158, allocations: 22.66 kB / 1.312 GB, free: 4.309 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/1.158, allocations: 23.72 kB / 1.312 GB, free: 4.301 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/1.158, allocations: 304.4 kB / 1.312 GB, free: 4.07 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.158, allocations: 5.219 kB / 1.312 GB, free: 4.066 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/1.158, allocations: 11.28 kB / 1.312 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.158, allocations: 5.344 kB / 1.312 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/1.159, allocations: 188.2 kB / 1.312 GB, free: 3.965 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/1.16, allocations: 1.468 MB / 1.314 GB, free: 2.613 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/1.16, allocations: 82.06 kB / 1.314 GB, free: 2.562 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.161, allocations: 80.17 kB / 1.314 GB, free: 2.52 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/1.161, allocations: 35.12 kB / 1.314 GB, free: 2.508 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.161, allocations: 35.56 kB / 1.314 GB, free: 2.465 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/1.161, allocations: 4.938 kB / 1.314 GB, free: 2.461 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007127/1.162, allocations: 217.3 kB / 1.314 GB, free: 2.348 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.162, allocations: 53.22 kB / 1.314 GB, free: 2.285 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/1.162, allocations: 279.6 kB / 1.314 GB, free: 2.086 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.162, allocations: 26.73 kB / 1.314 GB, free: 2.055 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/1.162, allocations: 203 kB / 1.315 GB, free: 1.871 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/1.162, allocations: 48.81 kB / 1.315 GB, free: 1.828 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/1.162, allocations: 45.05 kB / 1.315 GB, free: 1.797 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.162, allocations: 341.9 kB / 1.315 GB, free: 1.461 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.163, allocations: 62.88 kB / 1.315 GB, free: 1.426 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/1.163, allocations: 375.2 kB / 1.315 GB, free: 1.008 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/1.163, allocations: 234.5 kB / 1.316 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.163, allocations: 1.062 kB / 1.316 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004976/1.164, allocations: 251 kB / 1.316 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.164, allocations: 10.16 kB / 1.316 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.164, allocations: 4.875 kB / 1.316 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.164, allocations: 5.438 kB / 1.316 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/1.164, allocations: 54.16 kB / 1.316 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.164, allocations: 5.594 kB / 1.316 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/1.164, allocations: 29.33 kB / 1.316 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/1.164, allocations: 14.06 kB / 1.316 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002712/1.165, allocations: 172.3 kB / 1.316 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004166/1.165, allocations: 370.3 kB / 1.316 GB, free: 80 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003982/1.166, allocations: 236.3 kB / 1.317 GB, free: 15.87 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/1.166, allocations: 5.281 kB / 1.317 GB, free: 15.87 MB / 1.17 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004942/1.166, allocations: 238.9 kB / 1.317 GB, free: 15.74 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.166, allocations: 10.69 kB / 1.317 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.166, allocations: 8.562 kB / 1.317 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.78e-06/1.166, allocations: 3.906 kB / 1.317 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/1.166, allocations: 47.28 kB / 1.317 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.166, allocations: 5.531 kB / 1.317 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/1.166, allocations: 32.17 kB / 1.317 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/1.166, allocations: 18.28 kB / 1.317 GB, free: 15.69 MB / 1.17 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.0001348/1.167, allocations: 191.6 kB / 1.317 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/1.167, allocations: 35.78 kB / 1.317 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/1.167, allocations: 162.4 kB / 1.317 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.167, allocations: 1.094 kB / 1.317 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.167, allocations: 0.875 kB / 1.317 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.167, allocations: 0 / 1.317 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/1.168, allocations: 0.542 MB / 1.318 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.168, allocations: 6.531 kB / 1.318 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/1.168, allocations: 30.84 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.168, allocations: 2.812 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.168, allocations: 2.406 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.168, allocations: 2.469 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.168, allocations: 2.312 kB / 1.318 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/1.169, allocations: 309.2 kB / 1.318 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/1.169, allocations: 31.28 kB / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/1.169, allocations: 2.469 kB / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.169, allocations: 15.17 kB / 1.318 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/1.169, allocations: 12.36 kB / 1.318 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/1.169, allocations: 5.562 kB / 1.318 GB, free: 14.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001995/1.169, allocations: 200.1 kB / 1.319 GB, free: 14.46 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.169, allocations: 0 / 1.319 GB, free: 14.46 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000626/1.17, allocations: 147.5 kB / 1.319 GB, free: 14.43 MB / 1.17 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.000333/1.17, allocations: 153.5 kB / 1.319 GB, free: 14.3 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005998/1.171, allocations: 236.1 kB / 1.319 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.171, allocations: 4.312 kB / 1.319 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/1.171, allocations: 61.8 kB / 1.319 GB, free: 14.17 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/1.172, allocations: 101.2 kB / 1.319 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/1.173, allocations: 0.4921 MB / 1.32 GB, free: 13.74 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.173, allocations: 170.4 kB / 1.32 GB, free: 13.62 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002315/1.173, allocations: 78.69 kB / 1.32 GB, free: 13.58 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/1.173, allocations: 22.91 kB / 1.32 GB, free: 13.57 MB / 1.17 GB Notification: Performance of SimCode: time 4.11e-07/1.173, allocations: 4 kB / 1.32 GB, free: 13.57 MB / 1.17 GB Notification: Performance of Templates: time 0.009587/1.183, allocations: 4.15 MB / 1.324 GB, free: 9.934 MB / 1.17 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 ida -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: 9.41454553999938]