Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 172.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 95.59 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.703e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/6.168, allocations: 2.183 GB / 3.068 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/6.168, allocations: 86.77 kB / 3.068 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.122/7.29, allocations: 328 MB / 3.388 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/7.29, allocations: 0 / 3.388 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.114e-05/7.29, allocations: 8 kB / 3.388 GB, free: 204.5 MB / 0.8698 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.001318/7.291, allocations: 0.6683 MB / 3.389 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/7.291, allocations: 8.562 kB / 3.389 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/7.292, allocations: 63.58 kB / 3.389 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/7.292, allocations: 313.8 kB / 3.389 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/7.292, allocations: 4 kB / 3.389 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/7.292, allocations: 19.95 kB / 3.389 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002192/7.292, allocations: 112.8 kB / 3.39 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/7.293, allocations: 253.3 kB / 3.39 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/7.293, allocations: 3.938 kB / 3.39 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/7.293, allocations: 3.984 kB / 3.39 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/7.293, allocations: 8 kB / 3.39 GB, free: 202.9 MB / 0.8698 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.001494/7.294, allocations: 1.634 MB / 3.391 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/7.294, allocations: 70.62 kB / 3.391 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/7.295, allocations: 60.83 kB / 3.392 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/7.295, allocations: 190.4 kB / 3.392 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/7.295, allocations: 42.44 kB / 3.392 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/7.295, allocations: 0 / 3.392 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0004319/7.295, allocations: 145.2 kB / 3.392 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/7.295, allocations: 51.41 kB / 3.392 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/7.296, allocations: 222.2 kB / 3.392 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/7.296, allocations: 29.7 kB / 3.392 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/7.296, allocations: 199.8 kB / 3.392 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/7.296, allocations: 31.55 kB / 3.392 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/7.296, allocations: 0 / 3.392 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/7.296, allocations: 338.8 kB / 3.393 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/7.296, allocations: 35.98 kB / 3.393 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/7.296, allocations: 170.3 kB / 3.393 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.719e-05/7.296, allocations: 71.89 kB / 3.393 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/7.296, allocations: 0 / 3.393 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002449/7.296, allocations: 197.1 kB / 3.393 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000301/7.297, allocations: 1.399 MB / 3.395 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/7.297, allocations: 4 kB / 3.395 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/7.297, allocations: 11.94 kB / 3.395 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/7.297, allocations: 51.91 kB / 3.395 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/7.297, allocations: 11.89 kB / 3.395 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/7.297, allocations: 35.73 kB / 3.395 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/7.297, allocations: 15.98 kB / 3.395 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/7.297, allocations: 4 kB / 3.395 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000178/7.297, allocations: 135.7 kB / 3.395 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/7.297, allocations: 4 kB / 3.395 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/7.297, allocations: 11.94 kB / 3.395 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/7.298, allocations: 44.38 kB / 3.395 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/7.298, allocations: 11.94 kB / 3.395 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/7.298, allocations: 31.81 kB / 3.395 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/7.298, allocations: 16 kB / 3.395 GB, free: 197.3 MB / 0.8698 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 8.592e-05/7.298, allocations: 119.4 kB / 3.395 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/7.298, allocations: 23.72 kB / 3.395 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/7.298, allocations: 127.5 kB / 3.395 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/7.298, allocations: 4 kB / 3.395 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/7.298, allocations: 3.938 kB / 3.395 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/7.298, allocations: 0 / 3.395 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/7.299, allocations: 0.5304 MB / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/7.299, allocations: 4 kB / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/7.299, allocations: 31.92 kB / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/7.299, allocations: 4.312 kB / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/7.299, allocations: 4 kB / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/7.299, allocations: 7.938 kB / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/7.299, allocations: 0 / 3.396 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/7.299, allocations: 353.3 kB / 3.396 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/7.299, allocations: 108.8 kB / 3.396 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/7.299, allocations: 4 kB / 3.396 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/7.3, allocations: 27.91 kB / 3.396 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/7.3, allocations: 7.953 kB / 3.396 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/7.3, allocations: 7.984 kB / 3.396 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001178/7.3, allocations: 166 kB / 3.396 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/7.3, allocations: 3.938 kB / 3.396 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007729/7.301, allocations: 215.7 kB / 3.397 GB, free: 195.4 MB / 0.8698 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.001671/7.302, allocations: 1.414 MB / 3.398 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003095/7.303, allocations: 196.9 kB / 3.398 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/7.303, allocations: 0 / 3.398 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/7.303, allocations: 45.67 kB / 3.398 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/7.303, allocations: 105.8 kB / 3.398 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/7.304, allocations: 336.4 kB / 3.399 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/7.304, allocations: 0.784 MB / 3.399 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002825/7.304, allocations: 85.98 kB / 3.399 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/7.304, allocations: 19.44 kB / 3.4 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/7.304, allocations: 0 / 3.4 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01624/7.321, allocations: 11.11 MB / 3.41 GB, free: 181.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches