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.001663/0.001663, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001819/0.001819, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.473/1.473, 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.213/3.213, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 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.00206/0.00206, allocations: 66.19 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 176.1 MB / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1967/0.5519, allocations: 149.5 MB / 1.472 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.562, allocations: 6.703 MB / 1.479 GB, free: 4.969 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.5625, allocations: 19.81 kB / 1.479 GB, free: 4.949 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007985/0.5633, allocations: 214.6 kB / 1.479 GB, free: 4.738 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.5651, allocations: 0.5794 MB / 1.48 GB, free: 4.156 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.5665, allocations: 430 kB / 1.48 GB, free: 3.738 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.5676, allocations: 0.7206 MB / 1.481 GB, free: 3.016 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.5681, allocations: 215.4 kB / 1.481 GB, free: 2.805 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.5693, allocations: 0.5449 MB / 1.482 GB, free: 2.258 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.5697, allocations: 219 kB / 1.482 GB, free: 2.043 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.5698, allocations: 20 kB / 1.482 GB, free: 2.023 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.5709, allocations: 0.565 MB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.5711, allocations: 111.6 kB / 1.482 GB, free: 1.348 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.5712, allocations: 135.4 kB / 1.483 GB, free: 1.215 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.5722, allocations: 0.5643 MB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5722, allocations: 0 / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5722, allocations: 0 / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5722, allocations: 4 kB / 1.483 GB, free: 0.6445 MB / 1.17 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.001051/0.5733, allocations: 0.5667 MB / 1.484 GB, free: 48 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5733, allocations: 8.031 kB / 1.484 GB, free: 40 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.5737, allocations: 67.75 kB / 1.484 GB, free: 15.97 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.5743, allocations: 264 kB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.5743, allocations: 20.44 kB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.5744, allocations: 24 kB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.5749, allocations: 304.5 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5749, allocations: 4 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.5749, allocations: 7.938 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.575, allocations: 11.94 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.5754, allocations: 179.5 kB / 1.485 GB, free: 15.11 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.5771, allocations: 1.466 MB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.5774, allocations: 82.56 kB / 1.486 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.5775, allocations: 72.86 kB / 1.486 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.5778, allocations: 35.97 kB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5778, allocations: 38.44 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.5778, allocations: 4 kB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.000707/0.5785, allocations: 217.7 kB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.5785, allocations: 55.41 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.5789, allocations: 276.5 kB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.5789, allocations: 29.7 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.579, allocations: 200.1 kB / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.5791, allocations: 51.67 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.5792, allocations: 49.66 kB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5794, allocations: 334.8 kB / 1.487 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5795, allocations: 60.81 kB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.5799, allocations: 374.8 kB / 1.488 GB, free: 11.54 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.5803, allocations: 233.5 kB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5803, allocations: 0 / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005007/0.5808, allocations: 253.1 kB / 1.488 GB, free: 11 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5809, allocations: 11.94 kB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5809, allocations: 4 kB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5809, allocations: 4.406 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.5811, allocations: 55.91 kB / 1.488 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5811, allocations: 4 kB / 1.488 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.5813, allocations: 31.77 kB / 1.488 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.5814, allocations: 16 kB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002581/0.5816, allocations: 171.9 kB / 1.488 GB, free: 10.71 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003769/0.582, allocations: 375.2 kB / 1.489 GB, free: 10.24 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003874/0.5824, allocations: 233.5 kB / 1.489 GB, free: 9.961 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.5824, allocations: 0 / 1.489 GB, free: 9.961 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004795/0.5829, allocations: 249.9 kB / 1.489 GB, free: 9.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5829, allocations: 8.031 kB / 1.489 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5829, allocations: 15.91 kB / 1.489 GB, free: 9.688 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/0.5829, allocations: 4 kB / 1.489 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.5831, allocations: 47.91 kB / 1.489 GB, free: 9.637 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5831, allocations: 4 kB / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.5833, allocations: 31.88 kB / 1.489 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.5833, allocations: 16 kB / 1.489 GB, free: 9.586 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.0001583/0.5835, allocations: 196.1 kB / 1.49 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.5836, allocations: 31.75 kB / 1.49 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.584, allocations: 175.4 kB / 1.49 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.584, allocations: 0 / 1.49 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.584, allocations: 0 / 1.49 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.584, allocations: 3.984 kB / 1.49 GB, free: 9.176 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.585, allocations: 0.5349 MB / 1.49 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.585, allocations: 0 / 1.49 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5851, allocations: 27.92 kB / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.5851, allocations: 4 kB / 1.49 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5851, allocations: 4 kB / 1.49 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5851, allocations: 0 / 1.49 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5851, allocations: 4 kB / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.5856, allocations: 313.3 kB / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.5857, allocations: 31.84 kB / 1.491 GB, free: 8.168 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.5857, allocations: 0 / 1.491 GB, free: 8.168 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.5859, allocations: 15.98 kB / 1.491 GB, free: 8.152 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.5859, allocations: 11.92 kB / 1.491 GB, free: 8.141 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.5859, allocations: 4 kB / 1.491 GB, free: 8.137 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002151/0.5862, allocations: 195.1 kB / 1.491 GB, free: 7.945 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5862, allocations: 0 / 1.491 GB, free: 7.945 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000643/0.5868, allocations: 147.7 kB / 1.491 GB, free: 7.801 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.0002819/0.5871, allocations: 139.1 kB / 1.491 GB, free: 7.652 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.5877, allocations: 248.8 kB / 1.491 GB, free: 7.41 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5877, allocations: 0 / 1.491 GB, free: 7.41 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.5879, allocations: 60.16 kB / 1.491 GB, free: 7.352 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.5885, allocations: 91.03 kB / 1.492 GB, free: 7.266 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.5894, allocations: 0.534 MB / 1.492 GB, free: 6.676 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5896, allocations: 167.8 kB / 1.492 GB, free: 6.488 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.5897, allocations: 27.44 kB / 1.492 GB, free: 6.461 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/0.5897, allocations: 0 / 1.492 GB, free: 6.461 MB / 1.186 GB Notification: Performance of Templates: time 0.007443/0.5972, allocations: 4.19 MB / 1.496 GB, free: 2.301 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.373873977921903]