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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.283/2.283, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001263/0.001264, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.867/1.867, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009047/0.0009047, allocations: 95.89 kB / 0.9318 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.87e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3542, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.71/6.064, allocations: 1.871 GB / 3.09 GB, free: 364.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/6.064, allocations: 85.88 kB / 3.09 GB, free: 364.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6323/6.697, allocations: 346.4 MB / 3.428 GB, free: 48.08 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.963e-06/6.697, allocations: 0 / 3.428 GB, free: 48.08 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.655e-05/6.697, allocations: 4 kB / 3.428 GB, free: 48.08 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.001215/6.698, allocations: 0.6701 MB / 3.429 GB, free: 47.36 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/6.698, allocations: 8.031 kB / 3.429 GB, free: 47.36 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/6.699, allocations: 67.52 kB / 3.429 GB, free: 47.29 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/6.699, allocations: 322.6 kB / 3.429 GB, free: 46.93 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/6.699, allocations: 20.44 kB / 3.429 GB, free: 46.91 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/6.699, allocations: 20 kB / 3.429 GB, free: 46.89 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/6.7, allocations: 276.7 kB / 3.429 GB, free: 46.58 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/6.7, allocations: 7.938 kB / 3.429 GB, free: 46.57 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/6.7, allocations: 8 kB / 3.429 GB, free: 46.57 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/6.7, allocations: 8 kB / 3.429 GB, free: 46.56 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/6.7, allocations: 143.8 kB / 3.43 GB, free: 46.42 MB / 1.167 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.001371/6.701, allocations: 1.71 MB / 3.431 GB, free: 44.59 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/6.701, allocations: 74.53 kB / 3.431 GB, free: 44.51 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/6.701, allocations: 60.89 kB / 3.431 GB, free: 44.45 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/6.702, allocations: 190.2 kB / 3.432 GB, free: 44.22 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/6.702, allocations: 30.78 kB / 3.432 GB, free: 44.18 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/6.702, allocations: 3.938 kB / 3.432 GB, free: 44.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.000401/6.702, allocations: 153.3 kB / 3.432 GB, free: 44.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/6.702, allocations: 51.41 kB / 3.432 GB, free: 43.96 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/6.702, allocations: 286.6 kB / 3.432 GB, free: 43.68 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/6.702, allocations: 29.7 kB / 3.432 GB, free: 43.64 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/6.703, allocations: 195.9 kB / 3.432 GB, free: 43.45 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/6.703, allocations: 39.45 kB / 3.432 GB, free: 43.41 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/6.703, allocations: 4 kB / 3.432 GB, free: 43.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/6.703, allocations: 338.8 kB / 3.433 GB, free: 43.06 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/6.703, allocations: 43.84 kB / 3.433 GB, free: 43.02 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/6.703, allocations: 185.5 kB / 3.433 GB, free: 42.77 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.542e-05/6.703, allocations: 83.88 kB / 3.433 GB, free: 42.69 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/6.703, allocations: 0 / 3.433 GB, free: 42.69 MB / 1.167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002784/6.703, allocations: 229.2 kB / 3.433 GB, free: 42.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/6.704, allocations: 1.398 MB / 3.434 GB, free: 40.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/6.704, allocations: 4 kB / 3.434 GB, free: 40.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/6.704, allocations: 4 kB / 3.434 GB, free: 40.94 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/6.704, allocations: 55.84 kB / 3.435 GB, free: 40.89 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/6.704, allocations: 11.94 kB / 3.435 GB, free: 40.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/6.704, allocations: 51.66 kB / 3.435 GB, free: 40.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/6.704, allocations: 8 kB / 3.435 GB, free: 40.82 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/6.704, allocations: 4 kB / 3.435 GB, free: 40.81 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000219/6.704, allocations: 167.9 kB / 3.435 GB, free: 40.65 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/6.704, allocations: 4 kB / 3.435 GB, free: 40.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-06/6.704, allocations: 7.938 kB / 3.435 GB, free: 40.64 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/6.705, allocations: 51.97 kB / 3.435 GB, free: 40.59 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/6.705, allocations: 7.938 kB / 3.435 GB, free: 40.58 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/6.705, allocations: 36.05 kB / 3.435 GB, free: 40.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/6.705, allocations: 23.92 kB / 3.435 GB, free: 40.52 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 () * 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 6.92e-05/6.705, allocations: 120.8 kB / 3.435 GB, free: 40.39 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/6.705, allocations: 31.62 kB / 3.435 GB, free: 40.36 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/6.705, allocations: 140.6 kB / 3.435 GB, free: 40.22 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/6.705, allocations: 0 / 3.435 GB, free: 40.22 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/6.705, allocations: 4 kB / 3.435 GB, free: 40.22 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/6.705, allocations: 3.938 kB / 3.435 GB, free: 40.21 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/6.706, allocations: 0.5859 MB / 3.436 GB, free: 39.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/6.706, allocations: 0 / 3.436 GB, free: 39.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/6.706, allocations: 32.2 kB / 3.436 GB, free: 39.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/6.706, allocations: 336 / 3.436 GB, free: 39.52 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/6.706, allocations: 7.953 kB / 3.436 GB, free: 39.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/6.706, allocations: 11.92 kB / 3.436 GB, free: 39.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/6.706, allocations: 0 / 3.436 GB, free: 39.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/6.706, allocations: 369.2 kB / 3.436 GB, free: 39.06 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/6.706, allocations: 120.6 kB / 3.436 GB, free: 38.92 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/6.706, allocations: 4 kB / 3.436 GB, free: 38.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/6.707, allocations: 23.97 kB / 3.436 GB, free: 38.89 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/6.707, allocations: 11.98 kB / 3.436 GB, free: 38.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/6.707, allocations: 4 kB / 3.436 GB, free: 38.88 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001638/6.707, allocations: 222.2 kB / 3.437 GB, free: 38.66 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.12e-07/6.707, allocations: 0 / 3.437 GB, free: 38.66 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009207/6.708, allocations: 255.7 kB / 3.437 GB, free: 38.41 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 () * 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.00147/6.709, allocations: 1.258 MB / 3.438 GB, free: 37.11 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003385/6.71, allocations: 206.9 kB / 3.438 GB, free: 36.91 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.71, allocations: 0 / 3.438 GB, free: 36.91 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/6.71, allocations: 56.23 kB / 3.438 GB, free: 36.86 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/6.71, allocations: 133.5 kB / 3.438 GB, free: 36.73 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/6.711, allocations: 353.1 kB / 3.439 GB, free: 36.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/6.711, allocations: 0.7881 MB / 3.439 GB, free: 35.52 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003281/6.712, allocations: 115.4 kB / 3.44 GB, free: 35.41 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/6.712, allocations: 19.44 kB / 3.44 GB, free: 35.39 MB / 1.167 GB Notification: Performance of SimCode: time 4e-07/6.712, allocations: 0 / 3.44 GB, free: 35.39 MB / 1.167 GB Notification: Performance of Templates: time 0.02588/6.737, allocations: 23.7 MB / 3.463 GB, free: 11.72 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches