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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 104.1 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250 MB, free: 3.191 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 489.7 MB / 0.7761 GB, free: 2.402 MB / 0.6075 GB [Timeout remaining time 87] 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=502,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=502,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.001929/0.001929, allocations: 75.88 kB / 1.127 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8807, allocations: 172 MB / 1.295 GB, free: 38.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2113/1.092, allocations: 170 MB / 1.461 GB, free: 11.15 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.103, allocations: 7.362 MB / 1.468 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/1.104, allocations: 11.94 kB / 1.468 GB, free: 5.883 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009566/1.105, allocations: 213.7 kB / 1.468 GB, free: 5.754 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/1.106, allocations: 0.6005 MB / 1.469 GB, free: 5.43 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/1.108, allocations: 430.5 kB / 1.469 GB, free: 5.223 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001217/1.109, allocations: 0.7048 MB / 1.47 GB, free: 4.91 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/1.11, allocations: 233.8 kB / 1.47 GB, free: 4.812 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/1.111, allocations: 0.5364 MB / 1.471 GB, free: 4.566 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/1.112, allocations: 219.1 kB / 1.471 GB, free: 4.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/1.112, allocations: 19.25 kB / 1.471 GB, free: 4.48 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/1.113, allocations: 0.7154 MB / 1.472 GB, free: 4.234 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/1.113, allocations: 119 kB / 1.472 GB, free: 4.18 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/1.113, allocations: 155.4 kB / 1.472 GB, free: 4.094 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/1.115, allocations: 0.5694 MB / 1.472 GB, free: 3.891 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.115, allocations: 0 / 1.472 GB, free: 3.891 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/1.115, allocations: 4 kB / 1.473 GB, free: 3.887 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.832e-06/1.115, allocations: 0 / 1.473 GB, free: 3.887 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.001077/1.116, allocations: 0.649 MB / 1.473 GB, free: 3.34 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.116, allocations: 9.688 kB / 1.473 GB, free: 3.34 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/1.116, allocations: 69.48 kB / 1.473 GB, free: 3.312 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/1.117, allocations: 327.8 kB / 1.474 GB, free: 3.043 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.117, allocations: 19.28 kB / 1.474 GB, free: 3.035 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/1.117, allocations: 19.53 kB / 1.474 GB, free: 3.031 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/1.117, allocations: 308.4 kB / 1.474 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.117, allocations: 0 / 1.474 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/1.117, allocations: 11.19 kB / 1.474 GB, free: 2.82 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/1.117, allocations: 10.16 kB / 1.474 GB, free: 2.816 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/1.118, allocations: 181.8 kB / 1.474 GB, free: 2.758 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/1.12, allocations: 1.694 MB / 1.476 GB, free: 1.289 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/1.12, allocations: 82.91 kB / 1.476 GB, free: 1.25 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.12, allocations: 73.28 kB / 1.476 GB, free: 1.227 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/1.12, allocations: 194.4 kB / 1.476 GB, free: 1.027 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.12, allocations: 35.75 kB / 1.476 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/1.12, allocations: 0 / 1.476 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007325/1.121, allocations: 223 kB / 1.476 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.121, allocations: 58.22 kB / 1.476 GB, free: 0.832 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/1.122, allocations: 326.4 kB / 1.477 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/1.122, allocations: 26.86 kB / 1.477 GB, free: 0.625 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/1.122, allocations: 198.6 kB / 1.477 GB, free: 468 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/1.122, allocations: 40.73 kB / 1.477 GB, free: 436 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/1.122, allocations: 49.33 kB / 1.477 GB, free: 404 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.122, allocations: 338.3 kB / 1.477 GB, free: 72 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.122, allocations: 69.94 kB / 1.477 GB, free: 40 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/1.122, allocations: 192.6 kB / 1.478 GB, free: 15.86 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/1.123, allocations: 232 kB / 1.478 GB, free: 15.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.123, allocations: 5.562 kB / 1.478 GB, free: 15.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005139/1.123, allocations: 258.7 kB / 1.478 GB, free: 15.55 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.123, allocations: 7.344 kB / 1.478 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.123, allocations: 3.375 kB / 1.478 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.123, allocations: 4.969 kB / 1.478 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/1.124, allocations: 50.45 kB / 1.478 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.124, allocations: 5.625 kB / 1.478 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/1.124, allocations: 39.47 kB / 1.478 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/1.124, allocations: 11.86 kB / 1.478 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002521/1.124, allocations: 172.4 kB / 1.478 GB, free: 15.41 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000271/1.124, allocations: 192.6 kB / 1.478 GB, free: 15.23 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003693/1.125, allocations: 234 kB / 1.479 GB, free: 15.04 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/1.125, allocations: 2.344 kB / 1.479 GB, free: 15.04 MB / 1.17 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004776/1.125, allocations: 254.5 kB / 1.479 GB, free: 14.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.125, allocations: 11.5 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.125, allocations: 3.188 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/1.125, allocations: 4.344 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/1.126, allocations: 46.23 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.126, allocations: 6.25 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/1.126, allocations: 28.88 kB / 1.479 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/1.126, allocations: 15.28 kB / 1.479 GB, free: 14.9 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.0001399/1.126, allocations: 195.8 kB / 1.479 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/1.126, allocations: 32.44 kB / 1.479 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/1.126, allocations: 173.5 kB / 1.479 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.126, allocations: 2.031 kB / 1.479 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.126, allocations: 1.25 kB / 1.479 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.126, allocations: 0.7031 kB / 1.479 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/1.127, allocations: 0.6124 MB / 1.48 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.127, allocations: 1.25 kB / 1.48 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/1.128, allocations: 28.14 kB / 1.48 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.128, allocations: 5.812 kB / 1.48 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.128, allocations: 3.406 kB / 1.48 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.128, allocations: 9.938 kB / 1.48 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.128, allocations: 6.375 kB / 1.48 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/1.128, allocations: 311.6 kB / 1.48 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.128, allocations: 109.4 kB / 1.48 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/1.128, allocations: 7.562 kB / 1.48 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.128, allocations: 13.92 kB / 1.48 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/1.128, allocations: 17.12 kB / 1.481 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.128, allocations: 8.562 kB / 1.481 GB, free: 13.67 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002421/1.129, allocations: 227.2 kB / 1.481 GB, free: 13.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.129, allocations: 0 / 1.481 GB, free: 13.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006421/1.129, allocations: 137.4 kB / 1.481 GB, free: 13.5 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.0004417/1.13, allocations: 171.3 kB / 1.481 GB, free: 13.37 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005939/1.13, allocations: 232.1 kB / 1.481 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.13, allocations: 5.469 kB / 1.481 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/1.13, allocations: 60.98 kB / 1.481 GB, free: 13.24 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/1.131, allocations: 127 kB / 1.481 GB, free: 13.17 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/1.132, allocations: 0.5313 MB / 1.482 GB, free: 12.76 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/1.133, allocations: 0.7727 MB / 1.483 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/1.133, allocations: 33.78 kB / 1.483 GB, free: 12 MB / 1.17 GB Notification: Performance of SimCode: time 4.81e-07/1.133, allocations: 0 / 1.483 GB, free: 12 MB / 1.17 GB Notification: Performance of Templates: time 0.008139/1.141, allocations: 4.503 MB / 1.487 GB, free: 9.672 MB / 1.17 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] 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/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