Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.00129/0.00129, allocations: 177 kB / 498.1 MB, free: 5.758 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.632/1.632, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009114/0.0009113, allocations: 107.8 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.000422, allocations: 15.69 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.091/5.441, allocations: 1.906 GB / 3.129 GB, free: 108.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004596/5.442, allocations: 88.66 kB / 3.129 GB, free: 108.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.332/6.773, allocations: 247 MB / 3.37 GB, free: 332.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/6.773, allocations: 0 / 3.37 GB, free: 332.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.938e-05/6.773, allocations: 12 kB / 3.37 GB, free: 332.1 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001346/6.775, allocations: 0.6894 MB / 3.371 GB, free: 331.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/6.775, allocations: 8.031 kB / 3.371 GB, free: 331.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/6.776, allocations: 144.7 kB / 3.371 GB, free: 331.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/6.776, allocations: 323.1 kB / 3.372 GB, free: 330.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/6.776, allocations: 16.44 kB / 3.372 GB, free: 330.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/6.776, allocations: 27.95 kB / 3.372 GB, free: 330.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/6.777, allocations: 279.5 kB / 3.372 GB, free: 330.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/6.777, allocations: 0 / 3.372 GB, free: 330.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/6.777, allocations: 4 kB / 3.372 GB, free: 330.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/6.777, allocations: 8 kB / 3.372 GB, free: 330.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/6.777, allocations: 195.8 kB / 3.372 GB, free: 330.4 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.001259/6.779, allocations: 1.215 MB / 3.373 GB, free: 329.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/6.779, allocations: 122.5 kB / 3.373 GB, free: 328.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/6.779, allocations: 299.3 kB / 3.374 GB, free: 328.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/6.779, allocations: 34.55 kB / 3.374 GB, free: 328.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/6.779, allocations: 0 / 3.374 GB, free: 328.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0006904/6.78, allocations: 281.1 kB / 3.374 GB, free: 328.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/6.78, allocations: 51.41 kB / 3.374 GB, free: 328.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/6.78, allocations: 279.9 kB / 3.374 GB, free: 327.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/6.78, allocations: 33.7 kB / 3.374 GB, free: 327.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/6.781, allocations: 176.1 kB / 3.374 GB, free: 327.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/6.781, allocations: 55.19 kB / 3.375 GB, free: 327.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/6.781, allocations: 8 kB / 3.375 GB, free: 327.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/6.781, allocations: 334.8 kB / 3.375 GB, free: 327.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/6.781, allocations: 68.33 kB / 3.375 GB, free: 327.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/6.781, allocations: 128.9 kB / 3.375 GB, free: 327.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/6.781, allocations: 79.91 kB / 3.375 GB, free: 327 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/6.781, allocations: 0 / 3.375 GB, free: 327 MB / 1.167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003878/6.782, allocations: 241.1 kB / 3.375 GB, free: 326.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/6.782, allocations: 12.02 kB / 3.375 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/6.782, allocations: 0 / 3.375 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/6.782, allocations: 4.094 kB / 3.375 GB, free: 326.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/6.782, allocations: 55.75 kB / 3.375 GB, free: 326.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/6.782, allocations: 0 / 3.375 GB, free: 326.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/6.782, allocations: 51.64 kB / 3.375 GB, free: 326.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/6.782, allocations: 12 kB / 3.375 GB, free: 326.6 MB / 1.167 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 () * Number of clocked 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 0.0001316/6.782, allocations: 145.8 kB / 3.376 GB, free: 326.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/6.782, allocations: 35.56 kB / 3.376 GB, free: 326.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/6.783, allocations: 218.7 kB / 3.376 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/6.783, allocations: 0 / 3.376 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/6.783, allocations: 3.953 kB / 3.376 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/6.783, allocations: 3.984 kB / 3.376 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008464/6.784, allocations: 0.6756 MB / 3.377 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/6.784, allocations: 4 kB / 3.377 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/6.784, allocations: 36.14 kB / 3.377 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/6.784, allocations: 4 kB / 3.377 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/6.784, allocations: 8 kB / 3.377 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/6.784, allocations: 4 kB / 3.377 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/6.784, allocations: 0 / 3.377 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/6.784, allocations: 0.4932 MB / 3.377 GB, free: 324.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/6.785, allocations: 120.7 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/6.785, allocations: 12.05 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/6.785, allocations: 15.98 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/6.785, allocations: 19.92 kB / 3.377 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/6.785, allocations: 4 kB / 3.377 GB, free: 324.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002154/6.785, allocations: 235 kB / 3.377 GB, free: 324.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/6.785, allocations: 0 / 3.377 GB, free: 324.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007421/6.786, allocations: 171.8 kB / 3.378 GB, free: 324.2 MB / 1.167 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 () * Number of clocked 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.001504/6.787, allocations: 1.024 MB / 3.379 GB, free: 323.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004223/6.788, allocations: 183.4 kB / 3.379 GB, free: 323 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/6.788, allocations: 0 / 3.379 GB, free: 323 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/6.788, allocations: 92.45 kB / 3.379 GB, free: 323 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/6.789, allocations: 149.7 kB / 3.379 GB, free: 322.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/6.79, allocations: 0.6962 MB / 3.38 GB, free: 322.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/6.79, allocations: 0.7838 MB / 3.38 GB, free: 321.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002161/6.79, allocations: 62.92 kB / 3.381 GB, free: 321.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/6.79, allocations: 23.44 kB / 3.381 GB, free: 321.2 MB / 1.167 GB Notification: Performance of SimCode: time 6.81e-07/6.79, allocations: 0 / 3.381 GB, free: 321.2 MB / 1.167 GB Notification: Performance of Templates: time 0.02266/6.813, allocations: 17.83 MB / 3.398 GB, free: 303.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches