Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001622/0.001622, allocations: 112.6 kB / 16.37 MB, free: 6 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.00189/0.00189, allocations: 196 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.64 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2968, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7052/1.002, allocations: 167.4 MB / 1.182 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002617/1.005, allocations: 1.559 MB / 1.184 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/1.005, allocations: 11.59 kB / 1.184 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/1.005, allocations: 154.9 kB / 1.184 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/1.007, allocations: 0.7049 MB / 1.185 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/1.008, allocations: 0.6091 MB / 1.185 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007028/1.009, allocations: 0.7159 MB / 1.186 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/1.009, allocations: 229.8 kB / 1.186 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/1.01, allocations: 343.3 kB / 1.186 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/1.01, allocations: 225.9 kB / 1.187 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/1.01, allocations: 23.78 kB / 1.187 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/1.011, allocations: 0.8722 MB / 1.188 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/1.011, allocations: 113.1 kB / 1.188 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/1.012, allocations: 172.3 kB / 1.188 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009413/1.013, allocations: 0.7334 MB / 1.189 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.013, allocations: 0 / 1.189 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/1.013, allocations: 1.031 kB / 1.189 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.013, allocations: 0 / 1.189 GB, free: 3.203 MB / 0.8887 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.0008893/1.014, allocations: 0.6609 MB / 1.189 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/1.014, allocations: 10 kB / 1.189 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.015, allocations: 160.9 kB / 1.189 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/1.015, allocations: 328.7 kB / 1.19 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/1.015, allocations: 21.75 kB / 1.19 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/1.015, allocations: 27.34 kB / 1.19 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/1.016, allocations: 281.2 kB / 1.19 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.016, allocations: 3.938 kB / 1.19 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/1.016, allocations: 6.5 kB / 1.19 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.016, allocations: 5.062 kB / 1.19 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/1.016, allocations: 207.1 kB / 1.19 GB, free: 1.926 MB / 0.8887 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.001336/1.018, allocations: 1.227 MB / 1.191 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/1.018, allocations: 149.3 kB / 1.192 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/1.018, allocations: 93.77 kB / 1.192 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/1.019, allocations: 303.5 kB / 1.192 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.019, allocations: 34.56 kB / 1.192 GB, free: 316 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/1.019, allocations: 0 / 1.192 GB, free: 316 kB / 0.8887 GB Notification: Performance of matching and sorting (n=17): time 0.0007159/1.019, allocations: 298.1 kB / 1.192 GB, free: 160 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/1.019, allocations: 53.81 kB / 1.192 GB, free: 96 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/1.02, allocations: 325.2 kB / 1.193 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.02, allocations: 25.7 kB / 1.193 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/1.02, allocations: 184.2 kB / 1.193 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/1.02, allocations: 63 kB / 1.193 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/1.02, allocations: 47.95 kB / 1.193 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.02, allocations: 342.4 kB / 1.193 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/1.02, allocations: 69.05 kB / 1.193 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/1.02, allocations: 123 kB / 1.193 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/1.021, allocations: 205.2 kB / 1.194 GB, free: 15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.021, allocations: 1.938 kB / 1.194 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004847/1.021, allocations: 257.1 kB / 1.194 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.021, allocations: 9.922 kB / 1.194 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.021, allocations: 1.438 kB / 1.194 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.021, allocations: 3.344 kB / 1.194 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/1.022, allocations: 46.27 kB / 1.194 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.022, allocations: 1.812 kB / 1.194 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/1.022, allocations: 34.42 kB / 1.194 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/1.022, allocations: 7.188 kB / 1.194 GB, free: 14.82 MB / 0.9044 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.0001493/1.022, allocations: 159.2 kB / 1.194 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/1.022, allocations: 33.41 kB / 1.194 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/1.023, allocations: 231.5 kB / 1.194 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.023, allocations: 5 kB / 1.194 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.023, allocations: 0 / 1.194 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.023, allocations: 0 / 1.194 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/1.024, allocations: 0.706 MB / 1.195 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.024, allocations: 2.969 kB / 1.195 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/1.024, allocations: 42.78 kB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.024, allocations: 1.625 kB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/1.024, allocations: 7.438 kB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.024, allocations: 7.094 kB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.024, allocations: 2.281 kB / 1.195 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/1.025, allocations: 449.2 kB / 1.196 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.025, allocations: 119.4 kB / 1.196 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/1.025, allocations: 7.562 kB / 1.196 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.025, allocations: 17.83 kB / 1.196 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/1.025, allocations: 15.11 kB / 1.196 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.025, allocations: 5.531 kB / 1.196 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002914/1.026, allocations: 234.5 kB / 1.196 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.026, allocations: 0 / 1.196 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004285/1.026, allocations: 83.56 kB / 1.196 GB, free: 13.26 MB / 0.9044 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.0004403/1.026, allocations: 181.2 kB / 1.196 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004362/1.027, allocations: 176.8 kB / 1.196 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.027, allocations: 2.781 kB / 1.196 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/1.027, allocations: 93.95 kB / 1.196 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/1.028, allocations: 168.6 kB / 1.197 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/1.029, allocations: 0.6337 MB / 1.197 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/1.029, allocations: 0.7848 MB / 1.198 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001723/1.029, allocations: 66.2 kB / 1.198 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/1.03, allocations: 27.19 kB / 1.198 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.03, allocations: 0 / 1.198 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.009425/1.039, allocations: 5.818 MB / 1.204 GB, free: 8.824 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches