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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001612/0.001612, allocations: 108 kB / 16.41 MB, free: 6.457 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.001903/0.001903, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.911/1.911, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8274, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2736/1.101, allocations: 167.4 MB / 1.372 GB, free: 5.535 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00444/1.106, allocations: 1.568 MB / 1.373 GB, free: 3.965 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000527/1.106, allocations: 11.94 kB / 1.373 GB, free: 3.953 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006916/1.107, allocations: 150.9 kB / 1.374 GB, free: 3.805 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/1.11, allocations: 0.7039 MB / 1.374 GB, free: 3.098 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/1.112, allocations: 0.5992 MB / 1.375 GB, free: 2.5 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009978/1.113, allocations: 0.7215 MB / 1.376 GB, free: 1.777 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/1.113, allocations: 236.8 kB / 1.376 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009144/1.114, allocations: 350.7 kB / 1.376 GB, free: 1.199 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/1.114, allocations: 231 kB / 1.376 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/1.114, allocations: 24 kB / 1.376 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/1.116, allocations: 0.865 MB / 1.377 GB, free: 84 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/1.117, allocations: 107.7 kB / 1.377 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/1.117, allocations: 175.1 kB / 1.378 GB, free: 15.8 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/1.119, allocations: 0.7226 MB / 1.378 GB, free: 15.08 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.119, allocations: 3.984 kB / 1.378 GB, free: 15.08 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.724e-06/1.119, allocations: 4 kB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.119, allocations: 0 / 1.378 GB, free: 15.07 MB / 1.107 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.001081/1.12, allocations: 0.6583 MB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.12, allocations: 8.031 kB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/1.121, allocations: 163.3 kB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/1.122, allocations: 322.6 kB / 1.379 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/1.122, allocations: 20.56 kB / 1.379 GB, free: 13.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/1.122, allocations: 23.94 kB / 1.379 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/1.122, allocations: 285.8 kB / 1.38 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.122, allocations: 4 kB / 1.38 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/1.122, allocations: 15.98 kB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.122, allocations: 8 kB / 1.38 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/1.123, allocations: 204.9 kB / 1.38 GB, free: 13.27 MB / 1.107 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.001568/1.124, allocations: 1.219 MB / 1.381 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/1.125, allocations: 146.5 kB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/1.125, allocations: 103 kB / 1.381 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005787/1.125, allocations: 299.2 kB / 1.382 GB, free: 11.35 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.125, allocations: 42.47 kB / 1.382 GB, free: 11.3 MB / 1.107 GB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/1.125, allocations: 0 / 1.382 GB, free: 11.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=17): time 0.0008001/1.126, allocations: 289.1 kB / 1.382 GB, free: 11.01 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/1.126, allocations: 51.41 kB / 1.382 GB, free: 10.95 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/1.127, allocations: 324.5 kB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.127, allocations: 33.7 kB / 1.382 GB, free: 10.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.127, allocations: 188.1 kB / 1.382 GB, free: 10.4 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/1.127, allocations: 66.98 kB / 1.383 GB, free: 10.33 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/1.127, allocations: 41.7 kB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.127, allocations: 346.8 kB / 1.383 GB, free: 9.938 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/1.127, allocations: 63.95 kB / 1.383 GB, free: 9.875 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/1.128, allocations: 129.1 kB / 1.383 GB, free: 9.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/1.128, allocations: 196.9 kB / 1.383 GB, free: 9.52 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.128, allocations: 4 kB / 1.383 GB, free: 9.516 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005066/1.128, allocations: 263.7 kB / 1.384 GB, free: 9.254 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.128, allocations: 4 kB / 1.384 GB, free: 9.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.128, allocations: 0 / 1.384 GB, free: 9.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.128, allocations: 4 kB / 1.384 GB, free: 9.246 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/1.129, allocations: 43.97 kB / 1.384 GB, free: 9.203 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.129, allocations: 3.938 kB / 1.384 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/1.129, allocations: 39.77 kB / 1.384 GB, free: 9.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/1.129, allocations: 12 kB / 1.384 GB, free: 9.148 MB / 1.107 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.0001558/1.129, allocations: 149.8 kB / 1.384 GB, free: 8.992 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/1.129, allocations: 27.62 kB / 1.384 GB, free: 8.965 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/1.13, allocations: 234.5 kB / 1.384 GB, free: 8.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/1.13, allocations: 0 / 1.384 GB, free: 8.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/1.13, allocations: 8 kB / 1.384 GB, free: 8.723 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.13, allocations: 120.6 kB / 1.384 GB, free: 8.586 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/1.13, allocations: 8 kB / 1.384 GB, free: 8.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.13, allocations: 4 kB / 1.384 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/1.13, allocations: 15.92 kB / 1.384 GB, free: 8.559 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005334/1.131, allocations: 280.7 kB / 1.384 GB, free: 8.277 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006762/1.131, allocations: 488.1 kB / 1.385 GB, free: 7.785 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001763/1.132, allocations: 74.62 kB / 1.385 GB, free: 7.715 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002286/1.132, allocations: 231 kB / 1.385 GB, free: 7.488 MB / 1.107 GB Notification: Performance of Backend: time 9.42e-07/1.132, allocations: 0 / 1.385 GB, free: 7.488 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.133, allocations: 389.7 kB / 1.386 GB, free: 7.105 MB / 1.107 GB Notification: Performance of SimCode: time 0.001626/1.135, allocations: 1.139 MB / 1.387 GB, free: 5.918 MB / 1.107 GB Notification: Performance of Templates: time 0.01481/1.15, allocations: 8.167 MB / 1.395 GB, free: 13.84 MB / 1.123 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