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.643/2.643, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001033/0.001033, allocations: 184.9 kB / 492.3 MB, free: 0.6172 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.544/1.544, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008445/0.0008446, allocations: 106.1 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.435e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3154, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.684/5.999, allocations: 1.906 GB / 3.119 GB, free: 350.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/6, allocations: 81.25 kB / 3.119 GB, free: 350.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4492/6.449, allocations: 246.9 MB / 3.36 GB, free: 130.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.052e-06/6.449, allocations: 0 / 3.36 GB, free: 130.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.785e-05/6.449, allocations: 16 kB / 3.36 GB, free: 130.5 MB / 1.151 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.001009/6.45, allocations: 0.639 MB / 3.361 GB, free: 129.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/6.45, allocations: 8.031 kB / 3.361 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/6.451, allocations: 151.4 kB / 3.361 GB, free: 129.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/6.451, allocations: 326.7 kB / 3.361 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/6.451, allocations: 20.56 kB / 3.361 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/6.452, allocations: 24 kB / 3.361 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/6.452, allocations: 254 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/6.452, allocations: 3.938 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/6.452, allocations: 8 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/6.452, allocations: 15.94 kB / 3.361 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/6.452, allocations: 165 kB / 3.361 GB, free: 128.8 MB / 1.151 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.001164/6.453, allocations: 1.234 MB / 3.363 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/6.454, allocations: 119.4 kB / 3.363 GB, free: 127.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/6.454, allocations: 76.83 kB / 3.363 GB, free: 127.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/6.454, allocations: 295.3 kB / 3.363 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/6.454, allocations: 38.56 kB / 3.363 GB, free: 126.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/6.454, allocations: 0 / 3.363 GB, free: 126.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=17): time 0.0004275/6.455, allocations: 183 kB / 3.363 GB, free: 126.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/6.455, allocations: 51.41 kB / 3.363 GB, free: 126.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/6.455, allocations: 286.6 kB / 3.364 GB, free: 126.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/6.455, allocations: 33.7 kB / 3.364 GB, free: 126.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/6.455, allocations: 176.2 kB / 3.364 GB, free: 126.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/6.455, allocations: 71.08 kB / 3.364 GB, free: 126.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/6.455, allocations: 4 kB / 3.364 GB, free: 126.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/6.455, allocations: 342.8 kB / 3.364 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/6.455, allocations: 56.33 kB / 3.364 GB, free: 125.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/6.455, allocations: 116.1 kB / 3.364 GB, free: 125.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/6.455, allocations: 65.23 kB / 3.365 GB, free: 125.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.455, allocations: 0 / 3.365 GB, free: 125.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002738/6.456, allocations: 222.2 kB / 3.365 GB, free: 125.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/6.456, allocations: 4 kB / 3.365 GB, free: 125.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/6.456, allocations: 4 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/6.456, allocations: 96 / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/6.456, allocations: 51.91 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/6.456, allocations: 4 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/6.456, allocations: 31.83 kB / 3.365 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/6.456, allocations: 11.98 kB / 3.365 GB, free: 125.2 MB / 1.151 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.777e-05/6.456, allocations: 128.8 kB / 3.365 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/6.456, allocations: 31.62 kB / 3.365 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/6.457, allocations: 193.5 kB / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/6.457, allocations: 0 / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.457, allocations: 0 / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/6.457, allocations: 0 / 3.365 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/6.458, allocations: 0.6639 MB / 3.366 GB, free: 124.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/6.458, allocations: 0 / 3.366 GB, free: 124.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/6.458, allocations: 40.02 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/6.458, allocations: 15.92 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/6.458, allocations: 8.219 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/6.458, allocations: 8 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/6.458, allocations: 3.953 kB / 3.366 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/6.458, allocations: 470.5 kB / 3.366 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/6.458, allocations: 128.8 kB / 3.366 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/6.458, allocations: 4 kB / 3.366 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/6.459, allocations: 23.94 kB / 3.366 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/6.459, allocations: 11.92 kB / 3.367 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/6.459, allocations: 15.98 kB / 3.367 GB, free: 123.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002135/6.459, allocations: 226.2 kB / 3.367 GB, free: 123 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/6.459, allocations: 0 / 3.367 GB, free: 123 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000789/6.46, allocations: 171.9 kB / 3.367 GB, free: 122.8 MB / 1.151 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.001481/6.461, allocations: 1.039 MB / 3.368 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002745/6.461, allocations: 143.8 kB / 3.368 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/6.461, allocations: 0 / 3.368 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/6.462, allocations: 76.42 kB / 3.368 GB, free: 121.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/6.462, allocations: 171 kB / 3.368 GB, free: 121.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/6.463, allocations: 445.2 kB / 3.369 GB, free: 120.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/6.463, allocations: 0.7875 MB / 3.369 GB, free: 120.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001974/6.463, allocations: 58.94 kB / 3.37 GB, free: 120.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/6.464, allocations: 27.44 kB / 3.37 GB, free: 120 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/6.464, allocations: 0 / 3.37 GB, free: 120 MB / 1.151 GB Notification: Performance of Templates: time 0.0252/6.489, allocations: 20.76 MB / 3.39 GB, free: 99.34 MB / 1.151 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