Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001708/0.001708, allocations: 172 kB / 0.4902 GB, free: 2.254 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.954/1.954, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0012/0.0012, allocations: 99.05 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005918/0.0005917, allocations: 11.84 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4122, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.965/5.377, allocations: 1.907 GB / 3.136 GB, free: 31.37 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/5.377, allocations: 88.83 kB / 3.136 GB, free: 31.32 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.157/6.534, allocations: 247 MB / 3.378 GB, free: 261.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.523e-06/6.534, allocations: 0 / 3.378 GB, free: 261.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.465e-05/6.534, allocations: 8 kB / 3.378 GB, free: 261.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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001463/6.536, allocations: 0.6823 MB / 3.378 GB, free: 261 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/6.536, allocations: 16.81 kB / 3.378 GB, free: 261 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/6.537, allocations: 152.6 kB / 3.378 GB, free: 260.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/6.538, allocations: 313.8 kB / 3.379 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/6.538, allocations: 16.44 kB / 3.379 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/6.538, allocations: 24 kB / 3.379 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/6.538, allocations: 271.5 kB / 3.379 GB, free: 260.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/6.538, allocations: 4 kB / 3.379 GB, free: 260.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/6.539, allocations: 8 kB / 3.379 GB, free: 260.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/6.539, allocations: 8 kB / 3.379 GB, free: 260.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/6.539, allocations: 203.7 kB / 3.379 GB, free: 260 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.001322/6.54, allocations: 1.213 MB / 3.38 GB, free: 258.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/6.541, allocations: 130.5 kB / 3.381 GB, free: 258.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/6.541, allocations: 303.2 kB / 3.381 GB, free: 258.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/6.541, allocations: 30.56 kB / 3.381 GB, free: 258.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.604e-06/6.541, allocations: 0 / 3.381 GB, free: 258.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0007067/6.542, allocations: 274.2 kB / 3.381 GB, free: 257.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/6.542, allocations: 63.33 kB / 3.381 GB, free: 257.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/6.542, allocations: 279.9 kB / 3.381 GB, free: 257.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/6.542, allocations: 25.7 kB / 3.381 GB, free: 257.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/6.542, allocations: 172.2 kB / 3.382 GB, free: 257.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/6.542, allocations: 63.19 kB / 3.382 GB, free: 257.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/6.542, allocations: 4 kB / 3.382 GB, free: 257.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/6.542, allocations: 342.8 kB / 3.382 GB, free: 256.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/6.542, allocations: 64.33 kB / 3.382 GB, free: 256.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/6.543, allocations: 129.8 kB / 3.382 GB, free: 256.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/6.543, allocations: 87.41 kB / 3.382 GB, free: 256.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/6.543, allocations: 0 / 3.382 GB, free: 256.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004157/6.543, allocations: 241.1 kB / 3.382 GB, free: 256.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/6.543, allocations: 11.98 kB / 3.382 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/6.543, allocations: 8.094 kB / 3.383 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/6.543, allocations: 4 kB / 3.383 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/6.543, allocations: 39.92 kB / 3.383 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/6.543, allocations: 4 kB / 3.383 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/6.544, allocations: 43.66 kB / 3.383 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/6.544, allocations: 8 kB / 3.383 GB, free: 256.2 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.0001242/6.544, allocations: 153.8 kB / 3.383 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/6.544, allocations: 27.67 kB / 3.383 GB, free: 256 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/6.544, allocations: 217.6 kB / 3.383 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/6.544, allocations: 8 kB / 3.383 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/6.544, allocations: 0 / 3.383 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/6.544, allocations: 3.984 kB / 3.383 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/6.545, allocations: 0.6719 MB / 3.384 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/6.545, allocations: 4 kB / 3.384 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/6.545, allocations: 35.91 kB / 3.384 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/6.545, allocations: 4.219 kB / 3.384 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/6.545, allocations: 12 kB / 3.384 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/6.545, allocations: 4 kB / 3.384 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/6.545, allocations: 0 / 3.384 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/6.546, allocations: 0.5027 MB / 3.384 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/6.546, allocations: 116.7 kB / 3.384 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/6.546, allocations: 11.98 kB / 3.384 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/6.546, allocations: 20.05 kB / 3.384 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/6.546, allocations: 23.88 kB / 3.384 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/6.546, allocations: 4 kB / 3.384 GB, free: 254.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000167/6.547, allocations: 223 kB / 3.385 GB, free: 254 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.72e-07/6.547, allocations: 4 kB / 3.385 GB, free: 254 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007669/6.547, allocations: 171.9 kB / 3.385 GB, free: 253.8 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.001547/6.549, allocations: 1.024 MB / 3.386 GB, free: 252.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000391/6.549, allocations: 177.3 kB / 3.386 GB, free: 252.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/6.549, allocations: 3.938 kB / 3.386 GB, free: 252.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/6.55, allocations: 84.45 kB / 3.386 GB, free: 252.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/6.55, allocations: 163 kB / 3.386 GB, free: 252.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/6.551, allocations: 0.6943 MB / 3.387 GB, free: 251.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/6.552, allocations: 0.7877 MB / 3.388 GB, free: 250.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002271/6.552, allocations: 62.94 kB / 3.388 GB, free: 250.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/6.552, allocations: 27.42 kB / 3.388 GB, free: 250.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.21e-07/6.552, allocations: 0 / 3.388 GB, free: 250.7 MB / 1.167 GB Notification: Performance of Templates: time 0.02116/6.573, allocations: 17.83 MB / 3.405 GB, free: 233 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches