Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.001005/0.001005, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009208/0.0009208, allocations: 86.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.195e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.146/6.36, allocations: 2.18 GB / 3.071 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/6.36, allocations: 83.73 kB / 3.071 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.104/7.464, allocations: 235.6 MB / 3.301 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.283e-06/7.464, allocations: 0 / 3.301 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.729e-05/7.464, allocations: 7.062 kB / 3.301 GB, free: 250.3 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001146/7.465, allocations: 0.6359 MB / 3.302 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/7.466, allocations: 11 kB / 3.302 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/7.467, allocations: 157.7 kB / 3.302 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/7.467, allocations: 321.1 kB / 3.303 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/7.467, allocations: 24 kB / 3.303 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/7.467, allocations: 24.81 kB / 3.303 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/7.468, allocations: 258.7 kB / 3.303 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/7.468, allocations: 3.938 kB / 3.303 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/7.468, allocations: 11.59 kB / 3.303 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/7.468, allocations: 7.797 kB / 3.303 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/7.468, allocations: 167.3 kB / 3.303 GB, free: 249.3 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.001278/7.469, allocations: 1.214 MB / 3.304 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/7.469, allocations: 124.1 kB / 3.304 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/7.47, allocations: 79.48 kB / 3.304 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004517/7.47, allocations: 291.7 kB / 3.305 GB, free: 248 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/7.47, allocations: 38.5 kB / 3.305 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 2.033e-06/7.47, allocations: 0 / 3.305 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0004681/7.471, allocations: 184.6 kB / 3.305 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/7.471, allocations: 55.31 kB / 3.305 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/7.471, allocations: 289.5 kB / 3.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/7.471, allocations: 25.7 kB / 3.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/7.471, allocations: 186.6 kB / 3.305 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/7.471, allocations: 73.3 kB / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/7.471, allocations: 0 / 3.306 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/7.471, allocations: 345.7 kB / 3.306 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/7.471, allocations: 57.83 kB / 3.306 GB, free: 247 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/7.471, allocations: 107.6 kB / 3.306 GB, free: 247 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/7.471, allocations: 69.58 kB / 3.306 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/7.471, allocations: 0 / 3.306 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002861/7.472, allocations: 208 kB / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/7.472, allocations: 6.969 kB / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/7.472, allocations: 0 / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/7.472, allocations: 3.688 kB / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/7.472, allocations: 58.94 kB / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/7.472, allocations: 0 / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/7.472, allocations: 39.11 kB / 3.306 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/7.472, allocations: 15.77 kB / 3.306 GB, free: 246.8 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 (24): * Single equations (assignments): 24 * 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 7.043e-05/7.472, allocations: 124.7 kB / 3.307 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/7.472, allocations: 29.75 kB / 3.307 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/7.473, allocations: 190 kB / 3.307 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/7.473, allocations: 3.312 kB / 3.307 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.473, allocations: 0 / 3.307 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/7.473, allocations: 0 / 3.307 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/7.474, allocations: 0.6593 MB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/7.474, allocations: 7.844 kB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/7.474, allocations: 44.34 kB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/7.474, allocations: 3.781 kB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/7.474, allocations: 3.5 kB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/7.474, allocations: 11.2 kB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/7.474, allocations: 3.656 kB / 3.307 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/7.474, allocations: 463.4 kB / 3.308 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/7.474, allocations: 132.1 kB / 3.308 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/7.474, allocations: 14.17 kB / 3.308 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/7.475, allocations: 15.58 kB / 3.308 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/7.475, allocations: 23.56 kB / 3.308 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/7.475, allocations: 3.406 kB / 3.308 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001861/7.475, allocations: 233.2 kB / 3.308 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.475, allocations: 0 / 3.308 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007255/7.476, allocations: 176.8 kB / 3.308 GB, free: 245.1 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 (17): * Single equations (assignments): 17 * 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.001418/7.477, allocations: 1.04 MB / 3.309 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002636/7.477, allocations: 139.9 kB / 3.31 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/7.477, allocations: 0 / 3.31 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/7.477, allocations: 71.39 kB / 3.31 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/7.478, allocations: 162.4 kB / 3.31 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/7.479, allocations: 448 kB / 3.31 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/7.479, allocations: 0.7878 MB / 3.311 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001983/7.479, allocations: 68.8 kB / 3.311 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/7.479, allocations: 33.5 kB / 3.311 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/7.479, allocations: 0 / 3.311 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02564/7.505, allocations: 20.72 MB / 3.331 GB, free: 229.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_Velocity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches