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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3785, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1926/0.5712, allocations: 167.4 MB / 1.232 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.5739, allocations: 1.567 MB / 1.233 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.5742, allocations: 15.88 kB / 1.233 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.5746, allocations: 146.9 kB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5762, allocations: 0.7156 MB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.5776, allocations: 0.5953 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.5784, allocations: 0.7254 MB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.5788, allocations: 237.1 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.5793, allocations: 342.7 kB / 1.236 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.5797, allocations: 227 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.5798, allocations: 24 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.5812, allocations: 0.8689 MB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.5813, allocations: 107.7 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.5815, allocations: 175.2 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.5826, allocations: 0.713 MB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5826, allocations: 0 / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5826, allocations: 0 / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5826, allocations: 0 / 1.238 GB, free: 11.9 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.00109/0.5837, allocations: 0.6681 MB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5838, allocations: 12.03 kB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.5849, allocations: 163.3 kB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.5854, allocations: 302.7 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.5854, allocations: 20.56 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.5855, allocations: 27.94 kB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.586, allocations: 289.8 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5861, allocations: 0 / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.5861, allocations: 12 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.5861, allocations: 4 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.5866, allocations: 204.9 kB / 1.24 GB, free: 10.11 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.001496/0.5881, allocations: 1.234 MB / 1.241 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.5884, allocations: 150.4 kB / 1.241 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.5886, allocations: 89.12 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.5892, allocations: 307.2 kB / 1.241 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.5893, allocations: 42.41 kB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.5893, allocations: 0 / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007886/0.5901, allocations: 290.6 kB / 1.242 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5901, allocations: 51.41 kB / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.5905, allocations: 328.4 kB / 1.242 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.5906, allocations: 29.7 kB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5907, allocations: 184.2 kB / 1.242 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.5908, allocations: 59.09 kB / 1.242 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.5909, allocations: 53.64 kB / 1.242 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.591, allocations: 342.8 kB / 1.243 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5912, allocations: 63.95 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5914, allocations: 131.2 kB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.5918, allocations: 195 kB / 1.243 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5918, allocations: 3.938 kB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004766/0.5923, allocations: 253.1 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5923, allocations: 4 kB / 1.243 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5923, allocations: 0 / 1.243 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5923, allocations: 4 kB / 1.243 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.5926, allocations: 48.05 kB / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5926, allocations: 0 / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.5928, allocations: 35.67 kB / 1.243 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.5928, allocations: 12 kB / 1.243 GB, free: 5.984 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.0001489/0.593, allocations: 155.3 kB / 1.244 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.5931, allocations: 39.59 kB / 1.244 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.5935, allocations: 229.8 kB / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5936, allocations: 0 / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5936, allocations: 0 / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.092e-05/0.5936, allocations: 4 kB / 1.244 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5947, allocations: 0.7029 MB / 1.244 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5947, allocations: 8.219 kB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.5949, allocations: 35.91 kB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5949, allocations: 7.938 kB / 1.245 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.5949, allocations: 8 kB / 1.245 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5949, allocations: 7.938 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5949, allocations: 0 / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.5956, allocations: 446.3 kB / 1.245 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.5958, allocations: 128.7 kB / 1.245 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.5959, allocations: 12.06 kB / 1.245 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.596, allocations: 7.938 kB / 1.245 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.5961, allocations: 23.91 kB / 1.245 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5961, allocations: 8 kB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000221/0.5963, allocations: 231 kB / 1.245 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5963, allocations: 96 / 1.245 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003955/0.5967, allocations: 83.84 kB / 1.245 GB, free: 3.734 MB / 0.9981 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.0004135/0.5972, allocations: 160.5 kB / 1.246 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.5976, allocations: 195.7 kB / 1.246 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5976, allocations: 4.188 kB / 1.246 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.5978, allocations: 91.83 kB / 1.246 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.5987, allocations: 164.6 kB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5999, allocations: 0.6375 MB / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6003, allocations: 0.7834 MB / 1.247 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.6005, allocations: 58.94 kB / 1.247 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.6006, allocations: 27.44 kB / 1.247 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.6006, allocations: 4 kB / 1.248 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of Templates: time 0.6421/1.243, allocations: 5.807 MB / 1.253 GB, free: 185.2 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches