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.001319/0.001319, allocations: 104.2 kB / 19.74 MB, free: 2.062 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.001473/0.001473, allocations: 208.5 kB / 23.04 MB, free: 4.852 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002019/0.002019, allocations: 66.09 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3203, allocations: 176.1 MB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1912/0.5114, allocations: 149.5 MB / 1.473 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009264/0.5207, allocations: 6.701 MB / 1.48 GB, free: 4.258 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.5213, allocations: 19.81 kB / 1.48 GB, free: 4.238 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.522, allocations: 210.6 kB / 1.48 GB, free: 4.031 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.5237, allocations: 0.5795 MB / 1.481 GB, free: 3.449 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.525, allocations: 443 kB / 1.481 GB, free: 3.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.5261, allocations: 0.7129 MB / 1.482 GB, free: 2.305 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.5265, allocations: 211.4 kB / 1.482 GB, free: 2.098 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.5277, allocations: 0.5449 MB / 1.482 GB, free: 1.551 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.5281, allocations: 215 kB / 1.483 GB, free: 1.34 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.5281, allocations: 20 kB / 1.483 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.5292, allocations: 0.5729 MB / 1.483 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.5293, allocations: 111.7 kB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.5295, allocations: 135.3 kB / 1.483 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.5305, allocations: 0.5605 MB / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5305, allocations: 0 / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5305, allocations: 0 / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5305, allocations: 0 / 1.484 GB, free: 15.94 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.0009787/0.5315, allocations: 0.5745 MB / 1.485 GB, free: 15.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.5315, allocations: 12.03 kB / 1.485 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.5318, allocations: 67.7 kB / 1.485 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.5324, allocations: 256.1 kB / 1.485 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5324, allocations: 16.44 kB / 1.485 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.5324, allocations: 23.94 kB / 1.485 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.5329, allocations: 308.5 kB / 1.485 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.533, allocations: 0 / 1.485 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.533, allocations: 15.94 kB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.533, allocations: 4 kB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.5334, allocations: 179.5 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.5351, allocations: 1.47 MB / 1.487 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.5353, allocations: 82.56 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.5355, allocations: 80.81 kB / 1.487 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.5357, allocations: 31.98 kB / 1.487 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.5357, allocations: 42.5 kB / 1.487 GB, free: 12.6 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.5357, allocations: 0 / 1.487 GB, free: 12.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007001/0.5364, allocations: 229.2 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.5365, allocations: 51.41 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.5368, allocations: 276.5 kB / 1.488 GB, free: 12.02 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.5368, allocations: 29.7 kB / 1.488 GB, free: 11.99 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.537, allocations: 200.1 kB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.537, allocations: 43.69 kB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.5371, allocations: 49.66 kB / 1.488 GB, free: 11.69 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5373, allocations: 338.8 kB / 1.488 GB, free: 11.35 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.5374, allocations: 56.81 kB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.5378, allocations: 380.7 kB / 1.489 GB, free: 10.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.5382, allocations: 233.5 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5382, allocations: 0 / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004881/0.5387, allocations: 245.1 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5387, allocations: 9.812 kB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5387, allocations: 8.344 kB / 1.489 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5388, allocations: 11.98 kB / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.539, allocations: 39.98 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.539, allocations: 11.94 kB / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.5392, allocations: 39.75 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.5392, allocations: 12 kB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002573/0.5395, allocations: 175.9 kB / 1.489 GB, free: 9.992 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003752/0.5399, allocations: 369 kB / 1.49 GB, free: 9.527 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003901/0.5403, allocations: 237.6 kB / 1.49 GB, free: 9.246 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.5403, allocations: 0 / 1.49 GB, free: 9.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000506/0.5408, allocations: 241.5 kB / 1.49 GB, free: 9.004 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5408, allocations: 15.97 kB / 1.49 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5408, allocations: 11.94 kB / 1.49 GB, free: 8.977 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.5408, allocations: 4 kB / 1.49 GB, free: 8.973 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.541, allocations: 47.91 kB / 1.49 GB, free: 8.926 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.541, allocations: 7.938 kB / 1.49 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.5412, allocations: 23.94 kB / 1.49 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.5412, allocations: 12 kB / 1.49 GB, free: 8.883 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.0001436/0.5414, allocations: 204.1 kB / 1.49 GB, free: 8.676 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.5414, allocations: 31.75 kB / 1.491 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.5418, allocations: 160 kB / 1.491 GB, free: 8.484 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5418, allocations: 4 kB / 1.491 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5418, allocations: 0 / 1.491 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5418, allocations: 0 / 1.491 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009553/0.5428, allocations: 0.5349 MB / 1.491 GB, free: 7.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5428, allocations: 0 / 1.491 GB, free: 7.887 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5429, allocations: 23.98 kB / 1.491 GB, free: 7.863 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5429, allocations: 3.938 kB / 1.491 GB, free: 7.859 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5429, allocations: 7.938 kB / 1.491 GB, free: 7.852 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.5429, allocations: 7.984 kB / 1.491 GB, free: 7.844 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.543, allocations: 7.922 kB / 1.491 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.5434, allocations: 305.5 kB / 1.492 GB, free: 7.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.5435, allocations: 39.72 kB / 1.492 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5435, allocations: 4 kB / 1.492 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.5437, allocations: 7.984 kB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.5437, allocations: 19.92 kB / 1.492 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.5437, allocations: 4 kB / 1.492 GB, free: 7.426 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002032/0.5439, allocations: 195.1 kB / 1.492 GB, free: 7.234 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5439, allocations: 0 / 1.492 GB, free: 7.234 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005802/0.5445, allocations: 147.7 kB / 1.492 GB, free: 7.09 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.0002833/0.5448, allocations: 151.2 kB / 1.492 GB, free: 6.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.5454, allocations: 237 kB / 1.492 GB, free: 6.699 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5454, allocations: 64 / 1.492 GB, free: 6.699 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5455, allocations: 67.83 kB / 1.492 GB, free: 6.633 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.5462, allocations: 93.58 kB / 1.492 GB, free: 6.543 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.5472, allocations: 0.5223 MB / 1.493 GB, free: 5.965 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.5474, allocations: 171.8 kB / 1.493 GB, free: 5.773 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.5475, allocations: 23.44 kB / 1.493 GB, free: 5.75 MB / 1.186 GB Notification: Performance of SimCode: time 4.31e-07/0.5475, allocations: 0 / 1.493 GB, free: 5.75 MB / 1.186 GB Notification: Performance of Templates: time 0.007155/0.5546, allocations: 4.193 MB / 1.497 GB, free: 1.594 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 -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: 12.009345688857138]