Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 187.9 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.743 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 67.98 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 159.2 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7202/1.063, allocations: 167.4 MB / 1.228 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003035/1.066, allocations: 1.561 MB / 1.23 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/1.066, allocations: 12.5 kB / 1.23 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005396/1.067, allocations: 158.5 kB / 1.23 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/1.069, allocations: 0.7022 MB / 1.23 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/1.07, allocations: 0.6001 MB / 1.231 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008053/1.071, allocations: 0.715 MB / 1.232 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/1.072, allocations: 236.7 kB / 1.232 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/1.072, allocations: 342.6 kB / 1.232 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/1.073, allocations: 229 kB / 1.233 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/1.073, allocations: 23.06 kB / 1.233 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/1.074, allocations: 0.8721 MB / 1.233 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/1.074, allocations: 108.9 kB / 1.234 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/1.075, allocations: 176.3 kB / 1.234 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/1.076, allocations: 0.7261 MB / 1.234 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.076, allocations: 0 / 1.234 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/1.076, allocations: 0 / 1.234 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.343e-06/1.076, allocations: 0 / 1.234 GB, free: 10.96 MB / 0.9512 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.001086/1.077, allocations: 0.6628 MB / 1.235 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.077, allocations: 8.031 kB / 1.235 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/1.078, allocations: 155.4 kB / 1.235 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/1.079, allocations: 318.5 kB / 1.235 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/1.079, allocations: 16.56 kB / 1.236 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/1.079, allocations: 23.94 kB / 1.236 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/1.079, allocations: 293.8 kB / 1.236 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.079, allocations: 0 / 1.236 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/1.079, allocations: 4 kB / 1.236 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.079, allocations: 8 kB / 1.236 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/1.08, allocations: 196.9 kB / 1.236 GB, free: 9.191 MB / 0.9512 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.001608/1.081, allocations: 1.231 MB / 1.237 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/1.082, allocations: 154.4 kB / 1.237 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/1.082, allocations: 96.8 kB / 1.237 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/1.083, allocations: 303.2 kB / 1.238 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.083, allocations: 34.55 kB / 1.238 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/1.083, allocations: 0 / 1.238 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0008382/1.084, allocations: 301.3 kB / 1.238 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.084, allocations: 59.34 kB / 1.238 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/1.084, allocations: 320.5 kB / 1.238 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.084, allocations: 25.7 kB / 1.238 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.084, allocations: 184.1 kB / 1.239 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/1.084, allocations: 59.2 kB / 1.239 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/1.084, allocations: 49.61 kB / 1.239 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.085, allocations: 346.8 kB / 1.239 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.085, allocations: 67.95 kB / 1.239 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/1.085, allocations: 123.1 kB / 1.239 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/1.085, allocations: 201.8 kB / 1.239 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.085, allocations: 0 / 1.239 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005013/1.086, allocations: 254.5 kB / 1.24 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.086, allocations: 6.031 kB / 1.24 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.086, allocations: 7.938 kB / 1.24 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.086, allocations: 0 / 1.24 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.086, allocations: 47.97 kB / 1.24 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.086, allocations: 7.938 kB / 1.24 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.086, allocations: 27.67 kB / 1.24 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.086, allocations: 16.09 kB / 1.24 GB, free: 5.051 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/1.087, allocations: 149.8 kB / 1.24 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/1.087, allocations: 31.62 kB / 1.24 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/1.087, allocations: 231.8 kB / 1.24 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.087, allocations: 4 kB / 1.24 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.087, allocations: 3.984 kB / 1.24 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.087, allocations: 0 / 1.24 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.088, allocations: 0.7108 MB / 1.241 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.088, allocations: 0 / 1.241 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/1.089, allocations: 35.98 kB / 1.241 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.089, allocations: 4 kB / 1.241 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.089, allocations: 3.984 kB / 1.241 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/1.089, allocations: 11.88 kB / 1.241 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.089, allocations: 4 kB / 1.241 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/1.089, allocations: 451.3 kB / 1.241 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.09, allocations: 124.8 kB / 1.241 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/1.09, allocations: 4.219 kB / 1.241 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/1.09, allocations: 19.88 kB / 1.242 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/1.09, allocations: 15.97 kB / 1.242 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/1.09, allocations: 8 kB / 1.242 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002489/1.09, allocations: 231 kB / 1.242 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.5e-07/1.09, allocations: 0 / 1.242 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004225/1.091, allocations: 83.92 kB / 1.242 GB, free: 2.812 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/1.091, allocations: 170.3 kB / 1.242 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004938/1.091, allocations: 187.9 kB / 1.242 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.091, allocations: 0 / 1.242 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.092, allocations: 99.75 kB / 1.242 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/1.093, allocations: 176.5 kB / 1.242 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/1.094, allocations: 0.6633 MB / 1.243 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/1.094, allocations: 0.7795 MB / 1.244 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/1.094, allocations: 27.44 kB / 1.244 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/1.094, allocations: 0 / 1.244 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of Templates: time 0.008908/1.103, allocations: 4.942 MB / 1.249 GB, free: 11.76 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches