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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00132/0.00132, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.643/1.643, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.959/2.959, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7476, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2116/0.9593, allocations: 165.2 MB / 1.178 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.9627, allocations: 1.54 MB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.9635, allocations: 15.81 kB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.9644, allocations: 131.2 kB / 1.18 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.9674, allocations: 0.6692 MB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.9699, allocations: 0.561 MB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.9716, allocations: 0.7215 MB / 1.182 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.9722, allocations: 229 kB / 1.182 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.9732, allocations: 346.7 kB / 1.182 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.9736, allocations: 246.9 kB / 1.182 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.9737, allocations: 20 kB / 1.182 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.9757, allocations: 0.9077 MB / 1.183 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.9758, allocations: 103.7 kB / 1.183 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.976, allocations: 179.1 kB / 1.184 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.9774, allocations: 0.783 MB / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9774, allocations: 0 / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9774, allocations: 0 / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.9774, allocations: 4 kB / 1.184 GB, free: 6.504 MB / 0.9356 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.001112/0.9785, allocations: 0.6544 MB / 1.185 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.9786, allocations: 12.03 kB / 1.185 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9798, allocations: 159.3 kB / 1.185 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.9802, allocations: 310.7 kB / 1.185 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.9803, allocations: 20.56 kB / 1.185 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.9803, allocations: 27.94 kB / 1.186 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.9809, allocations: 281.8 kB / 1.186 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.9809, allocations: 4 kB / 1.186 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.9809, allocations: 8 kB / 1.186 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.9809, allocations: 4 kB / 1.186 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.9814, allocations: 204.9 kB / 1.186 GB, free: 4.73 MB / 0.9356 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.001552/0.9829, allocations: 1.223 MB / 1.187 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.9832, allocations: 150.4 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.9834, allocations: 96.8 kB / 1.187 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.9842, allocations: 303.2 kB / 1.188 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.9842, allocations: 34.55 kB / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 4.027e-06/0.9842, allocations: 0 / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0008436/0.9851, allocations: 302.7 kB / 1.188 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.9851, allocations: 59.34 kB / 1.188 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.9855, allocations: 320.5 kB / 1.188 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.9856, allocations: 25.7 kB / 1.188 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.9857, allocations: 188.1 kB / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.9858, allocations: 55.2 kB / 1.189 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.9859, allocations: 45.61 kB / 1.189 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9861, allocations: 342.8 kB / 1.189 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.9864, allocations: 71.95 kB / 1.189 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.9866, allocations: 123.3 kB / 1.189 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.9871, allocations: 199.5 kB / 1.189 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9871, allocations: 3.938 kB / 1.189 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005049/0.9876, allocations: 245.1 kB / 1.19 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.9876, allocations: 7.938 kB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.9876, allocations: 12.09 kB / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.9877, allocations: 0 / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.9879, allocations: 47.97 kB / 1.19 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9879, allocations: 4 kB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.9882, allocations: 39.61 kB / 1.19 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.9882, allocations: 11.94 kB / 1.19 GB, free: 0.5977 MB / 0.9356 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.0001712/0.9884, allocations: 157.8 kB / 1.19 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.9884, allocations: 27.62 kB / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.989, allocations: 238 kB / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.989, allocations: 0 / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.989, allocations: 0 / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.989, allocations: 4 kB / 1.19 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.9902, allocations: 0.7029 MB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9902, allocations: 4 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.9904, allocations: 44.19 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9904, allocations: 0 / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.9904, allocations: 4 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.9905, allocations: 7.938 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9905, allocations: 3.938 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007372/0.9912, allocations: 450.8 kB / 1.191 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.9913, allocations: 128.7 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.9914, allocations: 4.141 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.9916, allocations: 27.92 kB / 1.191 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.9917, allocations: 15.97 kB / 1.192 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.9917, allocations: 12 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002546/0.992, allocations: 231 kB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.992, allocations: 0 / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004158/0.9924, allocations: 76 kB / 1.192 GB, free: 14.34 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.0004928/0.9929, allocations: 175.4 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.9934, allocations: 183.7 kB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9934, allocations: 4.188 kB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.9936, allocations: 91.83 kB / 1.192 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.9945, allocations: 159.1 kB / 1.192 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.9957, allocations: 0.7211 MB / 1.193 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.9962, allocations: 0.7834 MB / 1.194 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.9964, allocations: 66.92 kB / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.9965, allocations: 23.44 kB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.9965, allocations: 4 kB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of Templates: time 0.01218/1.009, allocations: 5.744 MB / 1.2 GB, free: 6.434 MB / 0.9512 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches