Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001216/0.001216, allocations: 171 kB / 498.1 MB, free: 5.75 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.734/1.734, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.00118/0.001179, allocations: 96.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003894, allocations: 13.81 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3676, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.082/5.449, allocations: 1.906 GB / 3.129 GB, free: 108.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/5.45, allocations: 87.95 kB / 3.129 GB, free: 108.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.383/6.832, allocations: 247.1 MB / 3.371 GB, free: 331.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/6.833, allocations: 4 kB / 3.371 GB, free: 331.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.781e-05/6.833, allocations: 12 kB / 3.371 GB, free: 331.6 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001855/6.834, allocations: 0.6856 MB / 3.371 GB, free: 330.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/6.835, allocations: 15.97 kB / 3.371 GB, free: 330.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/6.836, allocations: 160.5 kB / 3.372 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/6.837, allocations: 312.3 kB / 3.372 GB, free: 330.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/6.837, allocations: 16.56 kB / 3.372 GB, free: 330.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/6.837, allocations: 27.91 kB / 3.372 GB, free: 330.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/6.837, allocations: 293.8 kB / 3.372 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/6.837, allocations: 4 kB / 3.372 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/6.837, allocations: 11.94 kB / 3.372 GB, free: 329.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/6.837, allocations: 8 kB / 3.372 GB, free: 329.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/6.838, allocations: 196.9 kB / 3.372 GB, free: 329.8 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.001609/6.839, allocations: 1.223 MB / 3.374 GB, free: 328.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/6.84, allocations: 142.5 kB / 3.374 GB, free: 328.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/6.84, allocations: 303.3 kB / 3.374 GB, free: 327.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/6.84, allocations: 30.88 kB / 3.374 GB, free: 327.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/6.84, allocations: 0 / 3.374 GB, free: 327.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=17): time 0.0008242/6.841, allocations: 294.1 kB / 3.374 GB, free: 327.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/6.841, allocations: 55.41 kB / 3.374 GB, free: 327.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/6.841, allocations: 279.7 kB / 3.375 GB, free: 327.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/6.841, allocations: 29.7 kB / 3.375 GB, free: 327.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/6.842, allocations: 188.1 kB / 3.375 GB, free: 327 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/6.842, allocations: 59.09 kB / 3.375 GB, free: 327 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/6.842, allocations: 8 kB / 3.375 GB, free: 327 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/6.842, allocations: 342.8 kB / 3.375 GB, free: 326.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/6.842, allocations: 64.36 kB / 3.375 GB, free: 326.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/6.842, allocations: 141.1 kB / 3.375 GB, free: 326.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/6.842, allocations: 79.91 kB / 3.375 GB, free: 326.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/6.842, allocations: 0 / 3.375 GB, free: 326.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004636/6.843, allocations: 255.9 kB / 3.376 GB, free: 326.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/6.843, allocations: 5.562 kB / 3.376 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/6.843, allocations: 7.938 kB / 3.376 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/6.843, allocations: 0 / 3.376 GB, free: 326.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/6.843, allocations: 56 kB / 3.376 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/6.843, allocations: 3.953 kB / 3.376 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/6.843, allocations: 39.67 kB / 3.376 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/6.843, allocations: 12 kB / 3.376 GB, free: 325.9 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 (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.0002563/6.844, allocations: 159 kB / 3.376 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/6.844, allocations: 31.62 kB / 3.376 GB, free: 325.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/6.844, allocations: 220.7 kB / 3.376 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/6.844, allocations: 4 kB / 3.376 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/6.844, allocations: 0 / 3.376 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/6.844, allocations: 7.953 kB / 3.376 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/6.845, allocations: 0.6873 MB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/6.845, allocations: 7.953 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/6.845, allocations: 44 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/6.846, allocations: 7.938 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/6.846, allocations: 4.062 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/6.846, allocations: 8.219 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/6.846, allocations: 4 kB / 3.377 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/6.846, allocations: 0.5175 MB / 3.378 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/6.846, allocations: 124.8 kB / 3.378 GB, free: 323.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/6.846, allocations: 8 kB / 3.378 GB, free: 323.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/6.847, allocations: 27.98 kB / 3.378 GB, free: 323.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/6.847, allocations: 7.984 kB / 3.378 GB, free: 323.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/6.847, allocations: 8 kB / 3.378 GB, free: 323.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002183/6.847, allocations: 231 kB / 3.378 GB, free: 323.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.402e-06/6.847, allocations: 0 / 3.378 GB, free: 323.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009481/6.848, allocations: 179.8 kB / 3.378 GB, free: 323.5 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 (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.002107/6.85, allocations: 1.043 MB / 3.379 GB, free: 322.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004674/6.851, allocations: 175.8 kB / 3.379 GB, free: 322.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/6.851, allocations: 0 / 3.379 GB, free: 322.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/6.851, allocations: 100.5 kB / 3.379 GB, free: 322.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/6.852, allocations: 149.5 kB / 3.379 GB, free: 322 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/6.853, allocations: 0.7366 MB / 3.38 GB, free: 321.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/6.853, allocations: 0.7875 MB / 3.381 GB, free: 320.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002722/6.853, allocations: 63.09 kB / 3.381 GB, free: 320.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/6.853, allocations: 23.44 kB / 3.381 GB, free: 320.3 MB / 1.167 GB Notification: Performance of SimCode: time 4.81e-07/6.853, allocations: 7.938 kB / 3.381 GB, free: 320.3 MB / 1.167 GB Notification: Performance of Templates: time 0.0245/6.878, allocations: 17.9 MB / 3.399 GB, free: 302.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches