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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107 kB / 16.41 MB, free: 6.504 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.001078/0.001078, allocations: 188.3 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.14 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7087, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1833/0.892, allocations: 167.4 MB / 1.252 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.8948, allocations: 1.555 MB / 1.254 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.8953, allocations: 15.88 kB / 1.254 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.8958, allocations: 154.9 kB / 1.254 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.8976, allocations: 0.7429 MB / 1.255 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.8991, allocations: 0.6073 MB / 1.255 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.9, allocations: 0.7215 MB / 1.256 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.9004, allocations: 233.1 kB / 1.256 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.9011, allocations: 350.7 kB / 1.256 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.9015, allocations: 231 kB / 1.257 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.9016, allocations: 24 kB / 1.257 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.9031, allocations: 0.8728 MB / 1.257 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.9032, allocations: 111.7 kB / 1.258 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.9034, allocations: 171.1 kB / 1.258 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.9046, allocations: 0.7304 MB / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.9047, allocations: 4 kB / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9047, allocations: 0 / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.9047, allocations: 0 / 1.258 GB, free: 15.83 MB / 0.9981 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.001038/0.9057, allocations: 0.6622 MB / 1.259 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9058, allocations: 12.03 kB / 1.259 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.907, allocations: 151.4 kB / 1.259 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.9075, allocations: 330.6 kB / 1.26 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.9075, allocations: 20.56 kB / 1.26 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.9076, allocations: 27.94 kB / 1.26 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.9081, allocations: 281.8 kB / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9081, allocations: 4 kB / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.9081, allocations: 8 kB / 1.26 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.9081, allocations: 4 kB / 1.26 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.9085, allocations: 200.9 kB / 1.26 GB, free: 14.04 MB / 0.9981 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.001408/0.91, allocations: 1.227 MB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.9102, allocations: 150.4 kB / 1.261 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.9104, allocations: 100.8 kB / 1.262 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/0.911, allocations: 299.2 kB / 1.262 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.911, allocations: 42.55 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.911, allocations: 0 / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007675/0.9118, allocations: 297.3 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.9119, allocations: 55.34 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.9122, allocations: 320.5 kB / 1.263 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.9122, allocations: 29.7 kB / 1.263 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.9123, allocations: 192.1 kB / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.9124, allocations: 55.2 kB / 1.263 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.9125, allocations: 45.61 kB / 1.263 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9126, allocations: 342.8 kB / 1.263 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.9128, allocations: 67.95 kB / 1.263 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.913, allocations: 130.3 kB / 1.263 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.9133, allocations: 198.5 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9133, allocations: 4 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000481/0.9138, allocations: 253 kB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9139, allocations: 6.5 kB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.9139, allocations: 4 kB / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9139, allocations: 0 / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.9141, allocations: 47.97 kB / 1.264 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9141, allocations: 7.938 kB / 1.264 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.9143, allocations: 31.86 kB / 1.264 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.9144, allocations: 8 kB / 1.264 GB, free: 9.91 MB / 0.9981 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.0001416/0.9145, allocations: 149.8 kB / 1.264 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.9146, allocations: 27.62 kB / 1.264 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.9151, allocations: 232.6 kB / 1.264 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.9151, allocations: 3.984 kB / 1.264 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.9151, allocations: 4 kB / 1.264 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.9152, allocations: 124.7 kB / 1.264 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.9153, allocations: 3.984 kB / 1.264 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.9154, allocations: 12 kB / 1.264 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.9155, allocations: 11.92 kB / 1.264 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005134/0.916, allocations: 280.8 kB / 1.265 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006392/0.9167, allocations: 488.5 kB / 1.265 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001732/0.9169, allocations: 76.11 kB / 1.265 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002041/0.9171, allocations: 231 kB / 1.265 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of Backend: time 5.51e-07/0.9171, allocations: 0 / 1.265 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.9182, allocations: 396.5 kB / 1.266 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001442/0.9197, allocations: 1.136 MB / 1.267 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of Templates: time 0.01361/0.9333, allocations: 8.034 MB / 1.275 GB, free: 14.73 MB / 1.014 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches