Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 196.4 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009508, allocations: 99.11 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.859e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.489/4.709, allocations: 1.869 GB / 3.075 GB, free: 362.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/4.71, allocations: 89.55 kB / 3.075 GB, free: 362.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6433/5.353, allocations: 342.3 MB / 3.41 GB, free: 93.52 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/5.353, allocations: 0 / 3.41 GB, free: 93.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.378e-05/5.353, allocations: 11.98 kB / 3.41 GB, free: 93.5 MB / 1.151 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.00144/5.354, allocations: 0.6662 MB / 3.41 GB, free: 92.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/5.354, allocations: 12.56 kB / 3.41 GB, free: 92.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/5.355, allocations: 67.48 kB / 3.411 GB, free: 92.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/5.355, allocations: 322.7 kB / 3.411 GB, free: 92.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/5.356, allocations: 8 kB / 3.411 GB, free: 92.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/5.356, allocations: 12 kB / 3.411 GB, free: 92.33 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002514/5.356, allocations: 116.8 kB / 3.411 GB, free: 92.22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/5.356, allocations: 247.5 kB / 3.411 GB, free: 91.94 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/5.356, allocations: 7.938 kB / 3.411 GB, free: 91.93 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/5.356, allocations: 4 kB / 3.411 GB, free: 91.93 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/5.356, allocations: 4 kB / 3.411 GB, free: 91.93 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001418/5.358, allocations: 1.648 MB / 3.413 GB, free: 90.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/5.358, allocations: 74.62 kB / 3.413 GB, free: 90.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/5.358, allocations: 64.78 kB / 3.413 GB, free: 90.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/5.358, allocations: 190.1 kB / 3.413 GB, free: 89.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/5.358, allocations: 34.56 kB / 3.413 GB, free: 89.75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/5.358, allocations: 0 / 3.413 GB, free: 89.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.00046/5.359, allocations: 145.5 kB / 3.413 GB, free: 89.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/5.359, allocations: 55.41 kB / 3.413 GB, free: 89.54 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/5.359, allocations: 226.2 kB / 3.414 GB, free: 89.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/5.359, allocations: 25.7 kB / 3.414 GB, free: 89.29 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/5.359, allocations: 199.8 kB / 3.414 GB, free: 89.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/5.359, allocations: 31.5 kB / 3.414 GB, free: 89.05 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/5.359, allocations: 0 / 3.414 GB, free: 89.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/5.359, allocations: 338.8 kB / 3.414 GB, free: 88.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/5.359, allocations: 39.98 kB / 3.414 GB, free: 88.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/5.359, allocations: 187.8 kB / 3.414 GB, free: 88.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/5.359, allocations: 67.89 kB / 3.414 GB, free: 88.36 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/5.359, allocations: 0 / 3.414 GB, free: 88.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002835/5.36, allocations: 197.2 kB / 3.415 GB, free: 88.16 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/5.36, allocations: 1.402 MB / 3.416 GB, free: 86.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/5.36, allocations: 96 / 3.416 GB, free: 86.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/5.36, allocations: 11.94 kB / 3.416 GB, free: 86.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/5.36, allocations: 51.86 kB / 3.416 GB, free: 86.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/5.36, allocations: 8 kB / 3.416 GB, free: 86.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/5.36, allocations: 35.73 kB / 3.416 GB, free: 86.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/5.361, allocations: 19.98 kB / 3.416 GB, free: 86.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/5.361, allocations: 6.031 kB / 3.416 GB, free: 86.52 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002012/5.361, allocations: 139.7 kB / 3.416 GB, free: 86.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/5.361, allocations: 7.984 kB / 3.416 GB, free: 86.37 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/5.361, allocations: 4 kB / 3.416 GB, free: 86.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/5.361, allocations: 51.91 kB / 3.416 GB, free: 86.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/5.361, allocations: 4 kB / 3.416 GB, free: 86.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/5.361, allocations: 40.06 kB / 3.416 GB, free: 86.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/5.361, allocations: 16 kB / 3.416 GB, free: 86.26 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/5.361, allocations: 113.9 kB / 3.416 GB, free: 86.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/5.361, allocations: 24 kB / 3.416 GB, free: 86.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/5.362, allocations: 127.5 kB / 3.417 GB, free: 85.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/5.362, allocations: 7.984 kB / 3.417 GB, free: 85.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/5.362, allocations: 0 / 3.417 GB, free: 85.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/5.362, allocations: 4 kB / 3.417 GB, free: 85.97 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/5.362, allocations: 0.5284 MB / 3.417 GB, free: 85.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/5.362, allocations: 4.219 kB / 3.417 GB, free: 85.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/5.362, allocations: 31.92 kB / 3.417 GB, free: 85.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/5.362, allocations: 0 / 3.417 GB, free: 85.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/5.362, allocations: 8 kB / 3.417 GB, free: 85.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/5.362, allocations: 4 kB / 3.417 GB, free: 85.33 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/5.362, allocations: 0 / 3.417 GB, free: 85.33 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/5.363, allocations: 369 kB / 3.418 GB, free: 84.89 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/5.363, allocations: 104.8 kB / 3.418 GB, free: 84.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/5.363, allocations: 7.984 kB / 3.418 GB, free: 84.76 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/5.363, allocations: 15.98 kB / 3.418 GB, free: 84.75 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/5.363, allocations: 23.88 kB / 3.418 GB, free: 84.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/5.363, allocations: 4 kB / 3.418 GB, free: 84.72 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001253/5.363, allocations: 174 kB / 3.418 GB, free: 84.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.363, allocations: 0 / 3.418 GB, free: 84.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008581/5.364, allocations: 219.6 kB / 3.418 GB, free: 84.33 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002107/5.366, allocations: 1.414 MB / 3.419 GB, free: 82.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003186/5.366, allocations: 193.8 kB / 3.42 GB, free: 82.69 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.366, allocations: 0 / 3.42 GB, free: 82.69 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/5.367, allocations: 47.92 kB / 3.42 GB, free: 82.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/5.367, allocations: 103.5 kB / 3.42 GB, free: 82.55 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/5.368, allocations: 340 kB / 3.42 GB, free: 82.17 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/5.368, allocations: 0.7879 MB / 3.421 GB, free: 81.36 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003279/5.368, allocations: 86.62 kB / 3.421 GB, free: 81.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/5.368, allocations: 23.44 kB / 3.421 GB, free: 81.24 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/5.368, allocations: 0 / 3.421 GB, free: 81.24 MB / 1.151 GB Notification: Performance of Templates: time 0.01668/5.385, allocations: 11.31 MB / 3.432 GB, free: 69.97 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches