Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.898 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.001098/0.001098, allocations: 175.4 kB / 316.3 MB, free: 3.227 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.467/1.467, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008897/0.00089, allocations: 89.84 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.508e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1921, allocations: 106.4 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.142/6.335, allocations: 2.18 GB / 3.065 GB, free: 186 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/6.335, allocations: 92.86 kB / 3.065 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.162/7.497, allocations: 232.4 MB / 3.292 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.434e-06/7.497, allocations: 2.062 kB / 3.292 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.687e-05/7.497, allocations: 11.25 kB / 3.292 GB, free: 250.2 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001444/7.499, allocations: 0.6328 MB / 3.293 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/7.499, allocations: 11.75 kB / 3.293 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/7.5, allocations: 149.3 kB / 3.293 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/7.501, allocations: 318.1 kB / 3.293 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/7.501, allocations: 7.875 kB / 3.293 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/7.501, allocations: 11.91 kB / 3.293 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002995/7.501, allocations: 143.6 kB / 3.293 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/7.501, allocations: 222.4 kB / 3.293 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/7.501, allocations: 0 / 3.293 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/7.501, allocations: 0 / 3.293 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/7.501, allocations: 12.62 kB / 3.293 GB, free: 249.4 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.001303/7.503, allocations: 1.14 MB / 3.294 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/7.503, allocations: 101.6 kB / 3.295 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/7.503, allocations: 65.27 kB / 3.295 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/7.503, allocations: 294.4 kB / 3.295 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/7.503, allocations: 39.66 kB / 3.295 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.574e-06/7.503, allocations: 3.469 kB / 3.295 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005807/7.504, allocations: 200.7 kB / 3.295 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/7.504, allocations: 51.41 kB / 3.295 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/7.504, allocations: 209.2 kB / 3.295 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/7.504, allocations: 25.7 kB / 3.295 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/7.504, allocations: 181 kB / 3.296 GB, free: 248 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/7.505, allocations: 56.61 kB / 3.296 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/7.505, allocations: 0 / 3.296 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/7.505, allocations: 337.3 kB / 3.296 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/7.505, allocations: 49.83 kB / 3.296 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/7.505, allocations: 103.5 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/7.505, allocations: 90.12 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/7.505, allocations: 3.094 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003638/7.505, allocations: 222.7 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/7.505, allocations: 3.875 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/7.506, allocations: 3.906 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/7.506, allocations: 0 / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/7.506, allocations: 41.3 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/7.506, allocations: 10 kB / 3.296 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/7.506, allocations: 26.41 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/7.506, allocations: 13.44 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.291e-05/7.506, allocations: 104.9 kB / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/7.506, allocations: 27.45 kB / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/7.507, allocations: 194.2 kB / 3.297 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/7.507, allocations: 6.562 kB / 3.297 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.507, allocations: 0 / 3.297 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/7.507, allocations: 3.422 kB / 3.297 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/7.507, allocations: 0.6087 MB / 3.297 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/7.507, allocations: 3.531 kB / 3.297 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/7.508, allocations: 39 kB / 3.297 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/7.508, allocations: 3.938 kB / 3.297 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/7.508, allocations: 1.859 kB / 3.297 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/7.508, allocations: 8.562 kB / 3.298 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/7.508, allocations: 7.281 kB / 3.298 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/7.508, allocations: 469.5 kB / 3.298 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/7.508, allocations: 115.9 kB / 3.298 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/7.508, allocations: 3.75 kB / 3.298 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/7.509, allocations: 14.77 kB / 3.298 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/7.509, allocations: 22.08 kB / 3.298 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/7.509, allocations: 15.41 kB / 3.298 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001203/7.509, allocations: 162.3 kB / 3.298 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.509, allocations: 3.844 kB / 3.298 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005927/7.509, allocations: 146.4 kB / 3.298 GB, free: 246.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001692/7.511, allocations: 1.174 MB / 3.3 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002537/7.511, allocations: 126.5 kB / 3.3 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/7.511, allocations: 0 / 3.3 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/7.511, allocations: 58.11 kB / 3.3 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/7.512, allocations: 112.2 kB / 3.3 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/7.513, allocations: 413.7 kB / 3.3 GB, free: 246 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/7.513, allocations: 0.7807 MB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001688/7.513, allocations: 53.36 kB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/7.513, allocations: 21.97 kB / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/7.513, allocations: 0 / 3.301 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01465/7.528, allocations: 9.78 MB / 3.311 GB, free: 244.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches