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.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.00169, allocations: 186.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.001022/0.001022, allocations: 101.5 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 12.94 kB / 0.7962 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2327, allocations: 106.3 MB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.999/6.232, allocations: 2.18 GB / 3.08 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/6.232, allocations: 92.03 kB / 3.08 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4921/6.724, allocations: 235.8 MB / 3.31 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/6.724, allocations: 0 / 3.31 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.54e-05/6.725, allocations: 8 kB / 3.31 GB, free: 111.5 MB / 0.8855 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.001616/6.726, allocations: 0.6896 MB / 3.311 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/6.726, allocations: 8.031 kB / 3.311 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/6.727, allocations: 151.4 kB / 3.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/6.728, allocations: 326.7 kB / 3.311 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/6.728, allocations: 16.56 kB / 3.311 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/6.728, allocations: 20 kB / 3.311 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/6.729, allocations: 277.9 kB / 3.312 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/6.729, allocations: 3.938 kB / 3.312 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/6.729, allocations: 15.94 kB / 3.312 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/6.729, allocations: 4 kB / 3.312 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/6.729, allocations: 212.9 kB / 3.312 GB, free: 109.7 MB / 0.8855 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.001438/6.731, allocations: 1.227 MB / 3.313 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/6.731, allocations: 134.5 kB / 3.313 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/6.731, allocations: 299.2 kB / 3.313 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/6.731, allocations: 42.55 kB / 3.313 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.794e-06/6.731, allocations: 3.938 kB / 3.313 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0007748/6.732, allocations: 285.4 kB / 3.314 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/6.732, allocations: 55.41 kB / 3.314 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/6.733, allocations: 283.7 kB / 3.314 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/6.733, allocations: 29.7 kB / 3.314 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/6.733, allocations: 180.2 kB / 3.314 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/6.733, allocations: 59.11 kB / 3.314 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/6.733, allocations: 4 kB / 3.314 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/6.733, allocations: 346.8 kB / 3.315 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/6.733, allocations: 71.89 kB / 3.315 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/6.733, allocations: 137.9 kB / 3.315 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/6.733, allocations: 81.09 kB / 3.315 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/6.733, allocations: 0 / 3.315 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004194/6.734, allocations: 257.1 kB / 3.315 GB, free: 106 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/6.734, allocations: 4 kB / 3.315 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/6.734, allocations: 0 / 3.315 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/6.734, allocations: 4 kB / 3.315 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/6.734, allocations: 43.92 kB / 3.315 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/6.734, allocations: 11.97 kB / 3.315 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/6.734, allocations: 39.8 kB / 3.315 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/6.734, allocations: 8 kB / 3.315 GB, free: 105.9 MB / 0.8855 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 (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 0.0001404/6.735, allocations: 161.7 kB / 3.315 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/6.735, allocations: 31.62 kB / 3.315 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/6.735, allocations: 230.8 kB / 3.316 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/6.735, allocations: 4 kB / 3.316 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/6.735, allocations: 0 / 3.316 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/6.735, allocations: 3.938 kB / 3.316 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/6.736, allocations: 0.6912 MB / 3.316 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/6.736, allocations: 4.219 kB / 3.316 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/6.736, allocations: 43.91 kB / 3.316 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/6.736, allocations: 4 kB / 3.316 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/6.736, allocations: 8 kB / 3.316 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/6.736, allocations: 0 / 3.316 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/6.736, allocations: 11.89 kB / 3.316 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/6.737, allocations: 0.5127 MB / 3.317 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/6.737, allocations: 124.8 kB / 3.317 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/6.737, allocations: 15.97 kB / 3.317 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/6.737, allocations: 15.94 kB / 3.317 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/6.737, allocations: 19.92 kB / 3.317 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/6.737, allocations: 8.062 kB / 3.317 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002063/6.738, allocations: 231 kB / 3.317 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/6.738, allocations: 0 / 3.317 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008959/6.739, allocations: 179.8 kB / 3.318 GB, free: 103.4 MB / 0.8855 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 (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.001893/6.74, allocations: 1.037 MB / 3.319 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004483/6.741, allocations: 179.9 kB / 3.319 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/6.741, allocations: 0 / 3.319 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/6.741, allocations: 87.83 kB / 3.319 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/6.742, allocations: 157.9 kB / 3.319 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/6.743, allocations: 0.7351 MB / 3.32 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/6.743, allocations: 0.7883 MB / 3.32 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002836/6.744, allocations: 70.92 kB / 3.32 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/6.744, allocations: 23.44 kB / 3.321 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/6.744, allocations: 0 / 3.321 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.02369/6.767, allocations: 17.87 MB / 3.338 GB, free: 82.45 MB / 0.8855 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