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.00177/0.00177, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002355/0.002355, allocations: 204 kB / 20.09 MB, free: 2.977 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.876/2.876, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.002024/0.002024, allocations: 63.91 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.985/0.9871, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2181/1.205, allocations: 172.9 MB / 1.491 GB, free: 9.098 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01062/1.216, allocations: 7.368 MB / 1.498 GB, free: 3.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000666/1.216, allocations: 20.03 kB / 1.498 GB, free: 3.133 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007849/1.217, allocations: 211.7 kB / 1.498 GB, free: 2.957 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/1.219, allocations: 0.6016 MB / 1.499 GB, free: 2.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/1.22, allocations: 424.5 kB / 1.499 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001017/1.221, allocations: 0.7112 MB / 1.5 GB, free: 1.793 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/1.222, allocations: 231.1 kB / 1.5 GB, free: 1.652 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/1.223, allocations: 0.5342 MB / 1.501 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/1.223, allocations: 238.2 kB / 1.501 GB, free: 1.176 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/1.223, allocations: 19.88 kB / 1.501 GB, free: 1.176 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/1.224, allocations: 0.7124 MB / 1.502 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/1.224, allocations: 113.9 kB / 1.502 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/1.224, allocations: 155 kB / 1.502 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008386/1.225, allocations: 0.5682 MB / 1.502 GB, free: 256 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.225, allocations: 0 / 1.502 GB, free: 256 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.783e-06/1.225, allocations: 1.344 kB / 1.502 GB, free: 256 kB / 1.17 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.225, allocations: 0 / 1.502 GB, free: 256 kB / 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.001008/1.226, allocations: 0.6615 MB / 1.503 GB, free: 15.65 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.226, allocations: 13.55 kB / 1.503 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/1.227, allocations: 70.72 kB / 1.503 GB, free: 15.59 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/1.227, allocations: 326.3 kB / 1.503 GB, free: 15.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.227, allocations: 16.44 kB / 1.503 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/1.227, allocations: 24 kB / 1.504 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/1.228, allocations: 300.6 kB / 1.504 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.228, allocations: 0 / 1.504 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/1.228, allocations: 15.92 kB / 1.504 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.228, allocations: 8 kB / 1.504 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/1.228, allocations: 179.5 kB / 1.504 GB, free: 14.66 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/1.23, allocations: 1.687 MB / 1.506 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/1.23, allocations: 86.56 kB / 1.506 GB, free: 12.76 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/1.23, allocations: 76.83 kB / 1.506 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/1.231, allocations: 198 kB / 1.506 GB, free: 12.45 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/1.231, allocations: 30.56 kB / 1.506 GB, free: 12.41 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/1.231, allocations: 4 kB / 1.506 GB, free: 12.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007242/1.231, allocations: 225.4 kB / 1.506 GB, free: 12.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.231, allocations: 51.41 kB / 1.506 GB, free: 12.12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/1.232, allocations: 328.4 kB / 1.507 GB, free: 11.78 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/1.232, allocations: 29.7 kB / 1.507 GB, free: 11.75 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/1.232, allocations: 196.2 kB / 1.507 GB, free: 11.55 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/1.232, allocations: 47.58 kB / 1.507 GB, free: 11.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/1.232, allocations: 49.7 kB / 1.507 GB, free: 11.45 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.232, allocations: 334.8 kB / 1.507 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/1.232, allocations: 68.69 kB / 1.507 GB, free: 11.04 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/1.233, allocations: 193.1 kB / 1.507 GB, free: 10.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/1.233, allocations: 237.4 kB / 1.508 GB, free: 10.51 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.233, allocations: 4 kB / 1.508 GB, free: 10.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004943/1.234, allocations: 253.1 kB / 1.508 GB, free: 10.25 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.234, allocations: 4 kB / 1.508 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.234, allocations: 8.391 kB / 1.508 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.234, allocations: 12 kB / 1.508 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/1.234, allocations: 39.92 kB / 1.508 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.234, allocations: 11.98 kB / 1.508 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/1.234, allocations: 31.83 kB / 1.508 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/1.234, allocations: 16 kB / 1.508 GB, free: 10.13 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002452/1.234, allocations: 171.9 kB / 1.508 GB, free: 9.961 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002687/1.235, allocations: 193 kB / 1.508 GB, free: 9.711 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003741/1.235, allocations: 229.5 kB / 1.509 GB, free: 9.438 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/1.235, allocations: 4 kB / 1.509 GB, free: 9.434 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000472/1.235, allocations: 249.1 kB / 1.509 GB, free: 9.184 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.236, allocations: 11.94 kB / 1.509 GB, free: 9.172 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/1.236, allocations: 4.406 kB / 1.509 GB, free: 9.168 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/1.236, allocations: 8 kB / 1.509 GB, free: 9.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/1.236, allocations: 47.91 kB / 1.509 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.236, allocations: 4 kB / 1.509 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/1.236, allocations: 31.88 kB / 1.509 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/1.236, allocations: 8 kB / 1.509 GB, free: 9.07 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.000131/1.236, allocations: 200.1 kB / 1.509 GB, free: 8.867 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/1.236, allocations: 35.73 kB / 1.509 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/1.237, allocations: 172.6 kB / 1.509 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.237, allocations: 4 kB / 1.509 GB, free: 8.652 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.237, allocations: 0 / 1.509 GB, free: 8.652 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.237, allocations: 7.984 kB / 1.509 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/1.238, allocations: 0.6133 MB / 1.51 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.238, allocations: 0 / 1.51 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/1.238, allocations: 31.91 kB / 1.51 GB, free: 7.922 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.238, allocations: 4 kB / 1.51 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.238, allocations: 224 / 1.51 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.238, allocations: 8 kB / 1.51 GB, free: 7.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.238, allocations: 7.875 kB / 1.51 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/1.238, allocations: 305.7 kB / 1.51 GB, free: 7.566 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.238, allocations: 116.9 kB / 1.51 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/1.238, allocations: 4 kB / 1.51 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.238, allocations: 11.98 kB / 1.51 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/1.238, allocations: 15.94 kB / 1.51 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/1.239, allocations: 4 kB / 1.51 GB, free: 7.398 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002414/1.239, allocations: 231 kB / 1.511 GB, free: 7.176 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.239, allocations: 3.938 kB / 1.511 GB, free: 7.172 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005936/1.239, allocations: 139.8 kB / 1.511 GB, free: 7.035 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.0002928/1.24, allocations: 144 kB / 1.511 GB, free: 6.887 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005881/1.24, allocations: 244.3 kB / 1.511 GB, free: 6.648 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.24, allocations: 0 / 1.511 GB, free: 6.648 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/1.24, allocations: 61.14 kB / 1.511 GB, free: 6.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/1.241, allocations: 131 kB / 1.511 GB, free: 6.465 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/1.242, allocations: 0.5411 MB / 1.512 GB, free: 5.871 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/1.242, allocations: 0.7717 MB / 1.513 GB, free: 5.07 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/1.242, allocations: 31.44 kB / 1.513 GB, free: 5.039 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/1.242, allocations: 0 / 1.513 GB, free: 5.039 MB / 1.186 GB Notification: Performance of Templates: time 0.007325/1.25, allocations: 4.505 MB / 1.517 GB, free: 0.5703 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.4848741349997]