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.332/2.332, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001687/0.001687, allocations: 195.5 kB / 0.4902 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.273/2.273, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001268/0.001268, allocations: 115.7 kB / 0.9397 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005051, allocations: 10.38 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4742, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.242/6.717, allocations: 1.871 GB / 3.1 GB, free: 81.78 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/6.717, allocations: 90.66 kB / 3.1 GB, free: 81.73 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.457/8.174, allocations: 346.7 MB / 3.439 GB, free: 210.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.725e-06/8.175, allocations: 0 / 3.439 GB, free: 210.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.149e-05/8.175, allocations: 23.92 kB / 3.439 GB, free: 210.7 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.001568/8.176, allocations: 0.7011 MB / 3.44 GB, free: 210 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/8.176, allocations: 12.03 kB / 3.44 GB, free: 210 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/8.177, allocations: 63.55 kB / 3.44 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/8.177, allocations: 326.7 kB / 3.44 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/8.177, allocations: 16.44 kB / 3.44 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/8.177, allocations: 24 kB / 3.44 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/8.178, allocations: 296.6 kB / 3.44 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/8.178, allocations: 4 kB / 3.44 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/8.178, allocations: 11.98 kB / 3.44 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/8.178, allocations: 8 kB / 3.44 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/8.178, allocations: 171.7 kB / 3.44 GB, free: 209 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.001526/8.18, allocations: 1.721 MB / 3.442 GB, free: 207.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/8.18, allocations: 90.56 kB / 3.442 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/8.18, allocations: 190.2 kB / 3.442 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/8.18, allocations: 34.78 kB / 3.442 GB, free: 206.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/8.18, allocations: 3.938 kB / 3.442 GB, free: 206.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0006646/8.181, allocations: 233.2 kB / 3.443 GB, free: 206.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/8.181, allocations: 51.41 kB / 3.443 GB, free: 206.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/8.181, allocations: 287.6 kB / 3.443 GB, free: 206.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/8.181, allocations: 29.7 kB / 3.443 GB, free: 206.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/8.181, allocations: 191.9 kB / 3.443 GB, free: 206 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/8.181, allocations: 43.38 kB / 3.443 GB, free: 205.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/8.181, allocations: 4 kB / 3.443 GB, free: 205.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/8.181, allocations: 342.8 kB / 3.444 GB, free: 205.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/8.182, allocations: 63.81 kB / 3.444 GB, free: 205.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/8.182, allocations: 210.7 kB / 3.444 GB, free: 205.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/8.182, allocations: 87.89 kB / 3.444 GB, free: 205.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/8.182, allocations: 4 kB / 3.444 GB, free: 205.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004249/8.182, allocations: 261 kB / 3.444 GB, free: 204.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003096/8.183, allocations: 1.395 MB / 3.445 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/8.183, allocations: 8.031 kB / 3.446 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/8.183, allocations: 7.938 kB / 3.446 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/8.183, allocations: 55.97 kB / 3.446 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/8.183, allocations: 7.938 kB / 3.446 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/8.183, allocations: 43.67 kB / 3.446 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/8.183, allocations: 15.98 kB / 3.446 GB, free: 203.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/8.183, allocations: 4 kB / 3.446 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003549/8.184, allocations: 203.6 kB / 3.446 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/8.184, allocations: 4.406 kB / 3.446 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/8.184, allocations: 12 kB / 3.446 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/8.184, allocations: 55.86 kB / 3.446 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/8.184, allocations: 7.984 kB / 3.446 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/8.184, allocations: 39.73 kB / 3.446 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/8.184, allocations: 15.98 kB / 3.446 GB, free: 202.9 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.0001486/8.184, allocations: 233.7 kB / 3.446 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/8.184, allocations: 23.72 kB / 3.446 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/8.185, allocations: 180.3 kB / 3.446 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/8.185, allocations: 3.953 kB / 3.446 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/8.185, allocations: 0 / 3.446 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/8.185, allocations: 4 kB / 3.446 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/8.186, allocations: 0.6171 MB / 3.447 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/8.186, allocations: 4 kB / 3.447 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/8.186, allocations: 35.92 kB / 3.447 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/8.186, allocations: 4 kB / 3.447 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/8.186, allocations: 4.219 kB / 3.447 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/8.186, allocations: 4 kB / 3.447 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/8.186, allocations: 4 kB / 3.447 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/8.186, allocations: 393.6 kB / 3.447 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/8.186, allocations: 112.7 kB / 3.448 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/8.186, allocations: 8 kB / 3.448 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/8.187, allocations: 15.98 kB / 3.448 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/8.187, allocations: 19.88 kB / 3.448 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/8.187, allocations: 8 kB / 3.448 GB, free: 201.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001773/8.187, allocations: 223 kB / 3.448 GB, free: 200.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/8.187, allocations: 0 / 3.448 GB, free: 200.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001008/8.188, allocations: 263.7 kB / 3.448 GB, free: 200.6 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.001771/8.19, allocations: 1.251 MB / 3.449 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005549/8.19, allocations: 252.4 kB / 3.45 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/8.19, allocations: 0 / 3.45 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/8.19, allocations: 68.97 kB / 3.45 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/8.191, allocations: 137.3 kB / 3.45 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/8.192, allocations: 0.5792 MB / 3.45 GB, free: 198.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/8.192, allocations: 0.7913 MB / 3.451 GB, free: 197.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003027/8.192, allocations: 87.53 kB / 3.451 GB, free: 197.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/8.192, allocations: 23.44 kB / 3.451 GB, free: 197.3 MB / 1.167 GB Notification: Performance of SimCode: time 3.11e-07/8.192, allocations: 0 / 3.451 GB, free: 197.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02533/8.218, allocations: 19.87 MB / 3.471 GB, free: 177.5 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