Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 110.9 kB / 17.08 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 193.2 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 489.3 MB / 0.7687 GB, free: 3.734 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.88 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9738, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.212/1.186, allocations: 169.5 MB / 1.428 GB, free: 9.441 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009105/1.195, allocations: 7.308 MB / 1.435 GB, free: 3.527 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/1.196, allocations: 12.38 kB / 1.435 GB, free: 3.523 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/1.196, allocations: 217.2 kB / 1.435 GB, free: 3.34 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/1.198, allocations: 0.5677 MB / 1.436 GB, free: 2.906 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/1.199, allocations: 431 kB / 1.436 GB, free: 2.602 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001112/1.2, allocations: 0.7028 MB / 1.437 GB, free: 2.199 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/1.201, allocations: 277.1 kB / 1.437 GB, free: 2.039 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/1.202, allocations: 0.5105 MB / 1.438 GB, free: 1.723 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/1.202, allocations: 215.1 kB / 1.438 GB, free: 1.598 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/1.202, allocations: 18.75 kB / 1.438 GB, free: 1.598 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/1.204, allocations: 0.7011 MB / 1.439 GB, free: 1.199 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/1.204, allocations: 102.2 kB / 1.439 GB, free: 1.133 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/1.204, allocations: 156 kB / 1.439 GB, free: 1.039 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009017/1.205, allocations: 0.5747 MB / 1.44 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.205, allocations: 0 / 1.44 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/1.205, allocations: 1.188 kB / 1.44 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.094e-06/1.205, allocations: 0 / 1.44 GB, free: 0.6836 MB / 1.123 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.0009729/1.206, allocations: 0.6606 MB / 1.44 GB, free: 88 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.206, allocations: 13.53 kB / 1.44 GB, free: 84 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/1.206, allocations: 72.81 kB / 1.44 GB, free: 44 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/1.207, allocations: 316.5 kB / 1.441 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.207, allocations: 22.88 kB / 1.441 GB, free: 15.74 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/1.207, allocations: 20.09 kB / 1.441 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/1.207, allocations: 304 kB / 1.441 GB, free: 15.49 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.207, allocations: 5.062 kB / 1.441 GB, free: 15.49 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.208, allocations: 14.28 kB / 1.441 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.208, allocations: 6.75 kB / 1.441 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/1.208, allocations: 172.1 kB / 1.441 GB, free: 15.4 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/1.21, allocations: 1.698 MB / 1.443 GB, free: 13.79 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/1.21, allocations: 89.14 kB / 1.443 GB, free: 13.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/1.21, allocations: 82.05 kB / 1.443 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/1.21, allocations: 192.1 kB / 1.443 GB, free: 13.49 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.211, allocations: 35.92 kB / 1.443 GB, free: 13.45 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 3.066e-06/1.211, allocations: 0 / 1.443 GB, free: 13.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0007257/1.211, allocations: 226.9 kB / 1.443 GB, free: 13.32 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.211, allocations: 52.88 kB / 1.443 GB, free: 13.26 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/1.212, allocations: 329.7 kB / 1.444 GB, free: 13.04 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.212, allocations: 26.73 kB / 1.444 GB, free: 13 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.212, allocations: 198.2 kB / 1.444 GB, free: 12.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/1.212, allocations: 37.16 kB / 1.444 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/1.212, allocations: 57.88 kB / 1.444 GB, free: 12.75 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.212, allocations: 337.3 kB / 1.444 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.212, allocations: 58.06 kB / 1.444 GB, free: 12.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/1.213, allocations: 193.5 kB / 1.445 GB, free: 12.19 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/1.213, allocations: 238.3 kB / 1.445 GB, free: 11.98 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.213, allocations: 1.125 kB / 1.445 GB, free: 11.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004747/1.214, allocations: 257.6 kB / 1.445 GB, free: 11.83 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.214, allocations: 14.8 kB / 1.445 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.214, allocations: 2.75 kB / 1.445 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.214, allocations: 5.5 kB / 1.445 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/1.214, allocations: 44.08 kB / 1.445 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.214, allocations: 16.05 kB / 1.445 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/1.214, allocations: 38.3 kB / 1.445 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/1.214, allocations: 10.94 kB / 1.445 GB, free: 11.78 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002572/1.214, allocations: 172.3 kB / 1.445 GB, free: 11.65 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000259/1.215, allocations: 190.5 kB / 1.446 GB, free: 11.45 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003761/1.215, allocations: 228.8 kB / 1.446 GB, free: 11.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/1.215, allocations: 1.469 kB / 1.446 GB, free: 11.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004736/1.216, allocations: 252.8 kB / 1.446 GB, free: 11.11 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.216, allocations: 11.16 kB / 1.446 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/1.216, allocations: 7.312 kB / 1.446 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/1.216, allocations: 4.125 kB / 1.446 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.216, allocations: 51.47 kB / 1.446 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.216, allocations: 8.531 kB / 1.446 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/1.216, allocations: 29.64 kB / 1.446 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/1.216, allocations: 10.22 kB / 1.446 GB, free: 11.07 MB / 1.139 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.0001377/1.216, allocations: 190.2 kB / 1.446 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/1.216, allocations: 41.14 kB / 1.446 GB, free: 10.85 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/1.217, allocations: 168.4 kB / 1.447 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.217, allocations: 6.781 kB / 1.447 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.217, allocations: 4 kB / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.217, allocations: 0 / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009754/1.218, allocations: 0.6044 MB / 1.447 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.218, allocations: 2.766 kB / 1.447 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/1.218, allocations: 34.06 kB / 1.447 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.218, allocations: 3.531 kB / 1.447 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/1.218, allocations: 2.344 kB / 1.447 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.218, allocations: 2.969 kB / 1.447 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.218, allocations: 9.266 kB / 1.447 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/1.218, allocations: 300.2 kB / 1.447 GB, free: 9.918 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.218, allocations: 124.4 kB / 1.448 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/1.218, allocations: 3.938 kB / 1.448 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/1.219, allocations: 10.7 kB / 1.448 GB, free: 9.785 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/1.219, allocations: 17.5 kB / 1.448 GB, free: 9.773 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/1.219, allocations: 3.406 kB / 1.448 GB, free: 9.773 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002363/1.219, allocations: 230.7 kB / 1.448 GB, free: 9.617 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.219, allocations: 0 / 1.448 GB, free: 9.617 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005852/1.22, allocations: 139.8 kB / 1.448 GB, free: 9.48 MB / 1.139 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.0004346/1.22, allocations: 164.6 kB / 1.448 GB, free: 9.32 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000599/1.221, allocations: 248.2 kB / 1.448 GB, free: 9.078 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.221, allocations: 0 / 1.448 GB, free: 9.078 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.221, allocations: 69.08 kB / 1.448 GB, free: 9.012 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/1.222, allocations: 122.8 kB / 1.449 GB, free: 8.898 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/1.222, allocations: 0.5333 MB / 1.449 GB, free: 8.312 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/1.223, allocations: 0.7717 MB / 1.45 GB, free: 7.516 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/1.223, allocations: 31.42 kB / 1.45 GB, free: 7.484 MB / 1.139 GB Notification: Performance of SimCode: time 3.2e-07/1.223, allocations: 0 / 1.45 GB, free: 7.484 MB / 1.139 GB Notification: Performance of Templates: time 0.007165/1.23, allocations: 4.476 MB / 1.454 GB, free: 3.047 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.046777809038758]