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.348/2.348, allocations: 390.5 MB / 398 MB, free: 10.96 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.001122/0.001123, allocations: 176.9 kB / 491.2 MB, free: 1.586 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001115/0.001115, allocations: 101.9 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.796e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.75/6.051, allocations: 1.87 GB / 3.083 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/6.052, allocations: 87.89 kB / 3.083 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6336/6.685, allocations: 342.3 MB / 3.417 GB, free: 111.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.714e-06/6.685, allocations: 0 / 3.417 GB, free: 111.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.941e-05/6.685, allocations: 11.98 kB / 3.417 GB, free: 111.4 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.001148/6.686, allocations: 0.674 MB / 3.418 GB, free: 110.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/6.686, allocations: 8.031 kB / 3.418 GB, free: 110.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/6.687, allocations: 63.59 kB / 3.418 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/6.687, allocations: 322.6 kB / 3.418 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/6.687, allocations: 8 kB / 3.418 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/6.687, allocations: 16 kB / 3.418 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002064/6.688, allocations: 116.8 kB / 3.418 GB, free: 110.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/6.688, allocations: 247.8 kB / 3.418 GB, free: 109.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/6.688, allocations: 0 / 3.418 GB, free: 109.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/6.688, allocations: 0 / 3.418 GB, free: 109.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/6.688, allocations: 8 kB / 3.418 GB, free: 109.8 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.001241/6.689, allocations: 1.656 MB / 3.42 GB, free: 108.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/6.689, allocations: 70.55 kB / 3.42 GB, free: 108 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/6.69, allocations: 56.89 kB / 3.42 GB, free: 107.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/6.69, allocations: 198.2 kB / 3.42 GB, free: 107.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/6.69, allocations: 30.78 kB / 3.42 GB, free: 107.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/6.69, allocations: 3.938 kB / 3.42 GB, free: 107.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0004372/6.69, allocations: 145.3 kB / 3.42 GB, free: 107.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/6.69, allocations: 55.34 kB / 3.42 GB, free: 107.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/6.69, allocations: 226.2 kB / 3.421 GB, free: 107.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/6.69, allocations: 25.7 kB / 3.421 GB, free: 107.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/6.691, allocations: 199.9 kB / 3.421 GB, free: 107 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/6.691, allocations: 39.39 kB / 3.421 GB, free: 106.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/6.691, allocations: 0 / 3.421 GB, free: 106.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/6.691, allocations: 334.8 kB / 3.421 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/6.691, allocations: 43.84 kB / 3.421 GB, free: 106.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/6.691, allocations: 177.1 kB / 3.421 GB, free: 106.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/6.691, allocations: 67.91 kB / 3.422 GB, free: 106.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/6.691, allocations: 7.938 kB / 3.422 GB, free: 106.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002483/6.691, allocations: 197 kB / 3.422 GB, free: 106 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002942/6.692, allocations: 1.396 MB / 3.423 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/6.692, allocations: 4 kB / 3.423 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/6.692, allocations: 8.094 kB / 3.423 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/6.692, allocations: 55.91 kB / 3.423 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/6.692, allocations: 11.88 kB / 3.423 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/6.692, allocations: 39.72 kB / 3.423 GB, free: 104.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/6.692, allocations: 15.98 kB / 3.423 GB, free: 104.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/6.692, allocations: 4 kB / 3.423 GB, free: 104.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001863/6.692, allocations: 135.7 kB / 3.423 GB, free: 104.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/6.692, allocations: 4.406 kB / 3.423 GB, free: 104.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/6.692, allocations: 8 kB / 3.423 GB, free: 104.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/6.693, allocations: 51.92 kB / 3.423 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/6.693, allocations: 11.92 kB / 3.423 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/6.693, allocations: 31.83 kB / 3.423 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/6.693, allocations: 12 kB / 3.423 GB, free: 104.2 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.155e-05/6.693, allocations: 120.9 kB / 3.424 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/6.693, allocations: 27.7 kB / 3.424 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/6.693, allocations: 123.6 kB / 3.424 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/6.693, allocations: 0 / 3.424 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/6.693, allocations: 0 / 3.424 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/6.693, allocations: 0 / 3.424 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/6.694, allocations: 0.5399 MB / 3.424 GB, free: 103.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/6.694, allocations: 4.094 kB / 3.424 GB, free: 103.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/6.694, allocations: 27.92 kB / 3.424 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/6.694, allocations: 4 kB / 3.424 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/6.694, allocations: 4.219 kB / 3.424 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/6.694, allocations: 7.938 kB / 3.424 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/6.694, allocations: 4 kB / 3.424 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/6.694, allocations: 353.1 kB / 3.425 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/6.694, allocations: 116.7 kB / 3.425 GB, free: 102.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/6.694, allocations: 0 / 3.425 GB, free: 102.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/6.694, allocations: 19.94 kB / 3.425 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/6.694, allocations: 11.98 kB / 3.425 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/6.694, allocations: 4 kB / 3.425 GB, free: 102.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001268/6.695, allocations: 178 kB / 3.425 GB, free: 102.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.1e-07/6.695, allocations: 0 / 3.425 GB, free: 102.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008457/6.695, allocations: 223.5 kB / 3.425 GB, free: 102.2 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.001672/6.697, allocations: 1.418 MB / 3.427 GB, free: 100.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003003/6.697, allocations: 190.3 kB / 3.427 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.697, allocations: 0 / 3.427 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/6.698, allocations: 56.55 kB / 3.427 GB, free: 100.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/6.698, allocations: 100.7 kB / 3.427 GB, free: 100.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/6.699, allocations: 348.4 kB / 3.427 GB, free: 100.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/6.699, allocations: 0.7801 MB / 3.428 GB, free: 99.25 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002999/6.699, allocations: 94.61 kB / 3.428 GB, free: 99.16 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/6.699, allocations: 19.44 kB / 3.428 GB, free: 99.14 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/6.699, allocations: 0 / 3.428 GB, free: 99.14 MB / 1.151 GB Notification: Performance of Templates: time 0.01558/6.715, allocations: 11.29 MB / 3.439 GB, free: 87.89 MB / 1.151 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