Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 390.5 MB / 398 MB, free: 10.97 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.002112/0.002112, allocations: 176.9 kB / 491.2 MB, free: 1.605 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.565/1.565, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009267/0.0009269, allocations: 95.88 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.835e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2311, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.38/5.611, allocations: 1.906 GB / 3.119 GB, free: 349.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/5.612, allocations: 87.44 kB / 3.119 GB, free: 349.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4662/6.078, allocations: 243.8 MB / 3.357 GB, free: 132.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.023e-06/6.078, allocations: 0 / 3.357 GB, free: 132.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.837e-05/6.078, allocations: 12 kB / 3.357 GB, free: 132.7 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.001206/6.079, allocations: 0.6391 MB / 3.358 GB, free: 132 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/6.08, allocations: 12.03 kB / 3.358 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/6.081, allocations: 155.3 kB / 3.358 GB, free: 131.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/6.081, allocations: 326.7 kB / 3.358 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/6.081, allocations: 8 kB / 3.358 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/6.081, allocations: 12 kB / 3.358 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002886/6.082, allocations: 153 kB / 3.358 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/6.082, allocations: 224.8 kB / 3.358 GB, free: 131 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/6.082, allocations: 0 / 3.358 GB, free: 131 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/6.082, allocations: 0 / 3.358 GB, free: 131 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/6.082, allocations: 7.953 kB / 3.358 GB, free: 131 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.001216/6.083, allocations: 1.156 MB / 3.36 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/6.083, allocations: 110.6 kB / 3.36 GB, free: 129.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/6.084, allocations: 64.84 kB / 3.36 GB, free: 129.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/6.084, allocations: 303.2 kB / 3.36 GB, free: 129.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/6.084, allocations: 30.56 kB / 3.36 GB, free: 129.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/6.084, allocations: 3.938 kB / 3.36 GB, free: 129.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=17): time 0.0006053/6.085, allocations: 211.2 kB / 3.36 GB, free: 129 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/6.085, allocations: 55.41 kB / 3.36 GB, free: 128.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/6.085, allocations: 214.2 kB / 3.361 GB, free: 128.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/6.085, allocations: 25.7 kB / 3.361 GB, free: 128.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/6.085, allocations: 184.1 kB / 3.361 GB, free: 128.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/6.085, allocations: 55.11 kB / 3.361 GB, free: 128.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/6.085, allocations: 0 / 3.361 GB, free: 128.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/6.085, allocations: 338.8 kB / 3.361 GB, free: 128.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/6.085, allocations: 47.98 kB / 3.361 GB, free: 128.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/6.085, allocations: 110.8 kB / 3.361 GB, free: 127.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/6.085, allocations: 101.6 kB / 3.361 GB, free: 127.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/6.086, allocations: 4 kB / 3.361 GB, free: 127.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004255/6.086, allocations: 217.2 kB / 3.362 GB, free: 127.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/6.086, allocations: 8 kB / 3.362 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/6.086, allocations: 0 / 3.362 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/6.086, allocations: 4 kB / 3.362 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/6.086, allocations: 51.91 kB / 3.362 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/6.086, allocations: 4 kB / 3.362 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/6.086, allocations: 31.86 kB / 3.362 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/6.086, allocations: 15.92 kB / 3.362 GB, free: 127.5 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 6.951e-05/6.087, allocations: 116.8 kB / 3.362 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/6.087, allocations: 23.72 kB / 3.362 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/6.087, allocations: 216.9 kB / 3.362 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/6.087, allocations: 0 / 3.362 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/6.087, allocations: 0 / 3.362 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/6.087, allocations: 0 / 3.362 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/6.088, allocations: 0.6332 MB / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/6.088, allocations: 0 / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/6.088, allocations: 35.97 kB / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/6.088, allocations: 7.938 kB / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/6.088, allocations: 4 kB / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/6.088, allocations: 4 kB / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/6.088, allocations: 0 / 3.363 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/6.089, allocations: 489.2 kB / 3.363 GB, free: 125.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/6.089, allocations: 112.8 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/6.089, allocations: 0 / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/6.089, allocations: 20.05 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/6.089, allocations: 19.94 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/6.089, allocations: 4 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001071/6.089, allocations: 170 kB / 3.363 GB, free: 125.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.089, allocations: 0 / 3.363 GB, free: 125.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005697/6.09, allocations: 159.7 kB / 3.364 GB, free: 125.3 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.001468/6.091, allocations: 1.179 MB / 3.365 GB, free: 124.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002295/6.091, allocations: 127.8 kB / 3.365 GB, free: 124 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/6.091, allocations: 192 / 3.365 GB, free: 124 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/6.091, allocations: 83.84 kB / 3.365 GB, free: 123.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/6.092, allocations: 98.27 kB / 3.365 GB, free: 123.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/6.093, allocations: 424.6 kB / 3.366 GB, free: 123.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/6.093, allocations: 0.795 MB / 3.366 GB, free: 122.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002267/6.093, allocations: 58.02 kB / 3.366 GB, free: 122.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/6.093, allocations: 23.44 kB / 3.366 GB, free: 122.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/6.093, allocations: 0 / 3.366 GB, free: 122.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01732/6.111, allocations: 9.869 MB / 3.376 GB, free: 112.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches