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.529/2.529, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001234/0.001234, allocations: 179.3 kB / 498.1 MB, free: 5.691 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.731/1.731, allocations: 223.2 MB / 0.7948 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 106.3 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 9.906 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3403, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.32/4.661, allocations: 1.87 GB / 3.093 GB, free: 110.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/4.661, allocations: 93.45 kB / 3.093 GB, free: 110.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.404/6.065, allocations: 346.7 MB / 3.432 GB, free: 232.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.414e-06/6.065, allocations: 0 / 3.432 GB, free: 232.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.876e-05/6.065, allocations: 8 kB / 3.432 GB, free: 232.9 MB / 1.167 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.001673/6.067, allocations: 0.7133 MB / 3.432 GB, free: 232.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/6.067, allocations: 8.031 kB / 3.432 GB, free: 232.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/6.068, allocations: 67.52 kB / 3.432 GB, free: 232 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/6.068, allocations: 318.7 kB / 3.433 GB, free: 231.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/6.068, allocations: 16.44 kB / 3.433 GB, free: 231.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/6.068, allocations: 20 kB / 3.433 GB, free: 231.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/6.069, allocations: 304.5 kB / 3.433 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/6.069, allocations: 7.938 kB / 3.433 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/6.069, allocations: 12 kB / 3.433 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/6.069, allocations: 4 kB / 3.433 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/6.069, allocations: 175.8 kB / 3.433 GB, free: 231.1 MB / 1.167 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.001606/6.071, allocations: 1.71 MB / 3.435 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/6.071, allocations: 98.47 kB / 3.435 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/6.071, allocations: 186.3 kB / 3.435 GB, free: 229 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/6.071, allocations: 34.56 kB / 3.435 GB, free: 228.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/6.072, allocations: 0 / 3.435 GB, free: 228.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0006837/6.072, allocations: 229.5 kB / 3.436 GB, free: 228.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/6.072, allocations: 55.41 kB / 3.436 GB, free: 228.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/6.073, allocations: 287.6 kB / 3.436 GB, free: 228.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/6.073, allocations: 29.7 kB / 3.436 GB, free: 228.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/6.073, allocations: 195.9 kB / 3.436 GB, free: 228.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/6.073, allocations: 43.39 kB / 3.436 GB, free: 228.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/6.073, allocations: 4 kB / 3.436 GB, free: 228.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/6.073, allocations: 342.8 kB / 3.436 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/6.073, allocations: 59.97 kB / 3.436 GB, free: 227.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/6.073, allocations: 206.2 kB / 3.437 GB, free: 227.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/6.073, allocations: 91.89 kB / 3.437 GB, free: 227.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/6.073, allocations: 0 / 3.437 GB, free: 227.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004041/6.074, allocations: 256.9 kB / 3.437 GB, free: 227.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/6.074, allocations: 1.403 MB / 3.438 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/6.074, allocations: 4 kB / 3.438 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/6.074, allocations: 4.094 kB / 3.438 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/6.074, allocations: 55.84 kB / 3.438 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/6.074, allocations: 7.938 kB / 3.438 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/6.075, allocations: 47.72 kB / 3.438 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/6.075, allocations: 12 kB / 3.438 GB, free: 225.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/6.075, allocations: 4 kB / 3.439 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003384/6.075, allocations: 203.8 kB / 3.439 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/6.075, allocations: 4 kB / 3.439 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/6.075, allocations: 8.031 kB / 3.439 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/6.075, allocations: 47.91 kB / 3.439 GB, free: 225.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/6.075, allocations: 15.89 kB / 3.439 GB, free: 225.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/6.075, allocations: 48.03 kB / 3.439 GB, free: 225.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/6.075, allocations: 16 kB / 3.439 GB, free: 225.1 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001832/6.076, allocations: 225 kB / 3.439 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/6.076, allocations: 31.66 kB / 3.439 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/6.076, allocations: 176.3 kB / 3.439 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/6.076, allocations: 0 / 3.439 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/6.076, allocations: 3.953 kB / 3.439 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/6.076, allocations: 7.984 kB / 3.439 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/6.077, allocations: 0.6251 MB / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.077, allocations: 0 / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/6.077, allocations: 31.98 kB / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/6.077, allocations: 0 / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/6.077, allocations: 4 kB / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/6.077, allocations: 11.92 kB / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/6.077, allocations: 0 / 3.44 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/6.078, allocations: 397.5 kB / 3.44 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/6.078, allocations: 112.8 kB / 3.44 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/6.078, allocations: 11.98 kB / 3.44 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/6.078, allocations: 19.89 kB / 3.44 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/6.078, allocations: 11.98 kB / 3.44 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/6.078, allocations: 4 kB / 3.44 GB, free: 223.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00023/6.078, allocations: 235 kB / 3.441 GB, free: 223 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/6.078, allocations: 0 / 3.441 GB, free: 223 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001459/6.08, allocations: 251.8 kB / 3.441 GB, free: 222.7 MB / 1.167 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 (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.00212/6.082, allocations: 1.257 MB / 3.442 GB, free: 221.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005896/6.083, allocations: 253 kB / 3.442 GB, free: 221.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/6.083, allocations: 8.062 kB / 3.442 GB, free: 221.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/6.083, allocations: 71.83 kB / 3.442 GB, free: 221.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/6.084, allocations: 137.7 kB / 3.443 GB, free: 221 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/6.084, allocations: 0.5753 MB / 3.443 GB, free: 220.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/6.085, allocations: 0.7836 MB / 3.444 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003224/6.085, allocations: 87.53 kB / 3.444 GB, free: 219.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/6.085, allocations: 27.44 kB / 3.444 GB, free: 219.4 MB / 1.167 GB Notification: Performance of SimCode: time 4.81e-07/6.085, allocations: 0 / 3.444 GB, free: 219.4 MB / 1.167 GB Notification: Performance of Templates: time 0.02484/6.11, allocations: 19.85 MB / 3.463 GB, free: 199.6 MB / 1.167 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