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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001047/0.001047, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.598/2.598, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7381, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2252/0.9634, allocations: 167.4 MB / 1.39 GB, free: 5.441 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.9662, allocations: 1.575 MB / 1.391 GB, free: 3.863 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.9665, allocations: 15.88 kB / 1.391 GB, free: 3.848 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.967, allocations: 146.9 kB / 1.392 GB, free: 3.703 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.9686, allocations: 0.7429 MB / 1.392 GB, free: 2.957 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.9701, allocations: 0.6067 MB / 1.393 GB, free: 2.352 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.9709, allocations: 0.7215 MB / 1.394 GB, free: 1.629 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.9713, allocations: 240.8 kB / 1.394 GB, free: 1.391 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.972, allocations: 350.7 kB / 1.394 GB, free: 1.047 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.9725, allocations: 231 kB / 1.394 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.9725, allocations: 24 kB / 1.394 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.974, allocations: 0.8728 MB / 1.395 GB, free: 15.92 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.9741, allocations: 115.7 kB / 1.395 GB, free: 15.81 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.9743, allocations: 163.2 kB / 1.395 GB, free: 15.65 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.9757, allocations: 0.7404 MB / 1.396 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9757, allocations: 4 kB / 1.396 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9757, allocations: 0 / 1.396 GB, free: 14.91 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.9757, allocations: 0 / 1.396 GB, free: 14.91 MB / 1.123 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.001106/0.9769, allocations: 0.672 MB / 1.397 GB, free: 14.19 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.9769, allocations: 16.03 kB / 1.397 GB, free: 14.17 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.9781, allocations: 147.6 kB / 1.397 GB, free: 14.03 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.9786, allocations: 330.8 kB / 1.397 GB, free: 13.66 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.9786, allocations: 28.55 kB / 1.397 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.9787, allocations: 27.94 kB / 1.397 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.9792, allocations: 277.8 kB / 1.398 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9792, allocations: 0 / 1.398 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.9792, allocations: 8 kB / 1.398 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.9792, allocations: 8 kB / 1.398 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.9796, allocations: 204.9 kB / 1.398 GB, free: 13.1 MB / 1.123 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.00135/0.981, allocations: 1.223 MB / 1.399 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.9813, allocations: 154.4 kB / 1.399 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.9815, allocations: 92.81 kB / 1.399 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005555/0.982, allocations: 307.2 kB / 1.4 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.9821, allocations: 30.56 kB / 1.4 GB, free: 11.12 MB / 1.123 GB Notification: Performance of pre-optimization done (n=17): time 1.532e-06/0.9821, allocations: 0 / 1.4 GB, free: 11.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=17): time 0.0008119/0.9829, allocations: 299.8 kB / 1.4 GB, free: 10.83 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.9829, allocations: 55.34 kB / 1.4 GB, free: 10.76 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.9833, allocations: 324.5 kB / 1.4 GB, free: 10.43 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.9833, allocations: 29.7 kB / 1.4 GB, free: 10.4 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.9834, allocations: 188.3 kB / 1.4 GB, free: 10.21 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.9835, allocations: 67.45 kB / 1.401 GB, free: 10.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.9836, allocations: 45.7 kB / 1.401 GB, free: 10.09 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9838, allocations: 338.8 kB / 1.401 GB, free: 9.754 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.9839, allocations: 67.95 kB / 1.401 GB, free: 9.688 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.9842, allocations: 133 kB / 1.401 GB, free: 9.539 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.9845, allocations: 195 kB / 1.401 GB, free: 9.332 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9845, allocations: 0 / 1.401 GB, free: 9.332 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004546/0.985, allocations: 257.2 kB / 1.402 GB, free: 9.074 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.985, allocations: 4 kB / 1.402 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.985, allocations: 11.88 kB / 1.402 GB, free: 9.059 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.985, allocations: 3.984 kB / 1.402 GB, free: 9.055 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.9852, allocations: 43.98 kB / 1.402 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.9853, allocations: 4 kB / 1.402 GB, free: 9.008 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.9855, allocations: 31.77 kB / 1.402 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.9855, allocations: 12 kB / 1.402 GB, free: 8.965 MB / 1.123 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.0001467/0.9857, allocations: 161.8 kB / 1.402 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.9857, allocations: 31.77 kB / 1.402 GB, free: 8.766 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.9862, allocations: 228.7 kB / 1.402 GB, free: 8.535 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9862, allocations: 0 / 1.402 GB, free: 8.535 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9862, allocations: 0 / 1.402 GB, free: 8.535 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.9863, allocations: 128.8 kB / 1.402 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.9864, allocations: 0 / 1.402 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.9865, allocations: 15.98 kB / 1.402 GB, free: 8.375 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.9866, allocations: 11.92 kB / 1.402 GB, free: 8.363 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005807/0.9872, allocations: 279 kB / 1.402 GB, free: 8.086 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000664/0.9879, allocations: 482.3 kB / 1.403 GB, free: 7.598 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002011/0.9881, allocations: 78.16 kB / 1.403 GB, free: 7.523 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002123/0.9883, allocations: 231 kB / 1.403 GB, free: 7.297 MB / 1.123 GB Notification: Performance of Backend: time 8.32e-07/0.9883, allocations: 0 / 1.403 GB, free: 7.297 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.9894, allocations: 399.5 kB / 1.404 GB, free: 6.906 MB / 1.123 GB Notification: Performance of SimCode: time 0.001504/0.991, allocations: 1.146 MB / 1.405 GB, free: 5.719 MB / 1.123 GB Notification: Performance of Templates: time 0.01323/1.004, allocations: 8.029 MB / 1.413 GB, free: 13.77 MB / 1.139 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches