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.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.001259/0.001259, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009719/0.0009719, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 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 0.956/0.956, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.073/2.073, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.593e-06/1.593e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.658e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.155/0.155, allocations: 165.9 MB / 1.04 GB, free: 164 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007941/0.163, allocations: 8.317 MB / 1.048 GB, free: 7.816 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005478/0.1635, allocations: 23.81 kB / 1.048 GB, free: 7.793 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.1642, allocations: 214.5 kB / 1.049 GB, free: 7.582 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.1659, allocations: 0.61 MB / 1.049 GB, free: 6.969 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1674, allocations: 0.6888 MB / 1.05 GB, free: 6.277 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1684, allocations: 0.7475 MB / 1.051 GB, free: 5.523 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.1687, allocations: 216 kB / 1.051 GB, free: 5.312 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.1697, allocations: 0.6501 MB / 1.051 GB, free: 4.66 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.17, allocations: 199.4 kB / 1.052 GB, free: 4.465 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.17, allocations: 23.94 kB / 1.052 GB, free: 4.441 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.171, allocations: 0.5727 MB / 1.052 GB, free: 3.867 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1712, allocations: 119.6 kB / 1.052 GB, free: 3.75 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1713, allocations: 111.7 kB / 1.052 GB, free: 3.641 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008457/0.1721, allocations: 0.5178 MB / 1.053 GB, free: 3.121 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1721, allocations: 4 kB / 1.053 GB, free: 3.117 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.175e-06/0.1721, allocations: 0 / 1.053 GB, free: 3.117 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.1721, allocations: 0 / 1.053 GB, free: 3.117 MB / 1.01 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.0009075/0.173, allocations: 0.7012 MB / 1.054 GB, free: 2.379 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.1731, allocations: 8.031 kB / 1.054 GB, free: 2.371 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.1735, allocations: 103.6 kB / 1.054 GB, free: 2.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.1739, allocations: 290.5 kB / 1.054 GB, free: 1.961 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1739, allocations: 24.48 kB / 1.054 GB, free: 1.938 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.174, allocations: 28 kB / 1.054 GB, free: 1.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1744, allocations: 277.3 kB / 1.054 GB, free: 1.586 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1744, allocations: 4 kB / 1.054 GB, free: 1.582 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1744, allocations: 4 kB / 1.054 GB, free: 1.578 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1744, allocations: 8 kB / 1.054 GB, free: 1.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1745, allocations: 88.31 kB / 1.054 GB, free: 1.484 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4352/0.6098, allocations: 1.959 MB / 1.056 GB, free: 223 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.61, allocations: 61.94 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.61, allocations: 31.48 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.6102, allocations: 35.45 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6102, allocations: 35.92 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/0.6102, allocations: 1.312 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0003588/0.6105, allocations: 143.4 kB / 1.057 GB, free: 222.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.6106, allocations: 54.75 kB / 1.057 GB, free: 222.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6108, allocations: 355.3 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.6108, allocations: 29.58 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.6109, allocations: 264 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.6109, allocations: 39.95 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.611, allocations: 71.34 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.611, allocations: 0.5134 MB / 1.058 GB, free: 221.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.6111, allocations: 26.95 kB / 1.058 GB, free: 221.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.6112, allocations: 475.8 kB / 1.058 GB, free: 221.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.6114, allocations: 310 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6114, allocations: 10.33 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002366/0.6116, allocations: 249 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6116, allocations: 9.297 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6117, allocations: 9.594 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6117, allocations: 5.906 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.6118, allocations: 57.59 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6118, allocations: 15.91 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.612, allocations: 38.62 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.612, allocations: 21.89 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.919e-05/0.6121, allocations: 155.6 kB / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001241/0.6122, allocations: 470.5 kB / 1.06 GB, free: 220.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001497/0.6123, allocations: 312.2 kB / 1.06 GB, free: 219.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.6123, allocations: 2.844 kB / 1.06 GB, free: 219.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0002202/0.6126, allocations: 251.2 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.6126, allocations: 10.16 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6126, allocations: 5.875 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.6126, allocations: 9.75 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.6127, allocations: 58.53 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6127, allocations: 15.7 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.6128, allocations: 29.14 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6128, allocations: 15.48 kB / 1.06 GB, free: 219.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (32): * Single equations (assignments): 32 * 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 7.074e-05/0.6129, allocations: 292.9 kB / 1.061 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.6129, allocations: 37.48 kB / 1.061 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.6131, allocations: 107.3 kB / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6131, allocations: 2.969 kB / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6131, allocations: 0 / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6131, allocations: 0 / 1.061 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.6135, allocations: 0.536 MB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.6135, allocations: 2.875 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.6136, allocations: 28.75 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6136, allocations: 2.969 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.6136, allocations: 4.344 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6136, allocations: 3.719 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6136, allocations: 7.672 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.6138, allocations: 309.7 kB / 1.062 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.6138, allocations: 39.25 kB / 1.062 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.6138, allocations: 10.09 kB / 1.062 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.6139, allocations: 8.875 kB / 1.062 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.6139, allocations: 20.73 kB / 1.062 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.614, allocations: 3.609 kB / 1.062 GB, free: 218.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.951e-05/0.6141, allocations: 231 kB / 1.062 GB, free: 218.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6141, allocations: 0 / 1.062 GB, free: 218.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004355/0.6145, allocations: 155.8 kB / 1.062 GB, free: 218.4 MB / 1.01 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.0002222/0.6147, allocations: 147 kB / 1.062 GB, free: 218.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.615, allocations: 220.1 kB / 1.062 GB, free: 218.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.615, allocations: 0 / 1.062 GB, free: 218.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.615, allocations: 44.73 kB / 1.062 GB, free: 218.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.6154, allocations: 98.98 kB / 1.063 GB, free: 218.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.6163, allocations: 0.532 MB / 1.063 GB, free: 217.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.6163, allocations: 104.2 kB / 1.063 GB, free: 217.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.6165, allocations: 73.47 kB / 1.063 GB, free: 217.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.6166, allocations: 29.38 kB / 1.063 GB, free: 217.7 MB / 1.01 GB Notification: Performance of SimCode: time 8.81e-07/0.6166, allocations: 0.6562 kB / 1.063 GB, free: 217.7 MB / 1.01 GB Notification: Performance of Templates: time 0.006561/0.6231, allocations: 4.263 MB / 1.067 GB, free: 217.3 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.141739555867389]