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.0008556/0.0008555, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007031/0.007031, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.836/2.836, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 9.906 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2009/0.5446, allocations: 163 MB / 1.218 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.5481, allocations: 1.552 MB / 1.219 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.5487, allocations: 7.938 kB / 1.219 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.5493, allocations: 119.2 kB / 1.22 GB, free: 172 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.5515, allocations: 0.6691 MB / 1.22 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.5535, allocations: 0.5487 MB / 1.221 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.5549, allocations: 0.9867 MB / 1.222 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.5554, allocations: 201.2 kB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009338/0.5564, allocations: 314.6 kB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005062/0.5569, allocations: 235 kB / 1.222 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.557, allocations: 12 kB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.5589, allocations: 1.013 MB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.5591, allocations: 99.69 kB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.5594, allocations: 188.9 kB / 1.224 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.5609, allocations: 0.7634 MB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5609, allocations: 4 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.567e-06/0.5609, allocations: 0 / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.5609, allocations: 3.938 kB / 1.224 GB, free: 11.14 MB / 0.9825 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.001141/0.5621, allocations: 0.6117 MB / 1.225 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5621, allocations: 12.03 kB / 1.225 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.5634, allocations: 147.5 kB / 1.225 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.5639, allocations: 318.6 kB / 1.225 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.564, allocations: 16.56 kB / 1.225 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.564, allocations: 31.92 kB / 1.226 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.5646, allocations: 289.9 kB / 1.226 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5647, allocations: 0 / 1.226 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.5647, allocations: 8 kB / 1.226 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.5647, allocations: 4 kB / 1.226 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.5652, allocations: 224.8 kB / 1.226 GB, free: 9.391 MB / 0.9825 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.001659/0.5669, allocations: 1.223 MB / 1.227 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.5672, allocations: 154.4 kB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.5674, allocations: 112.7 kB / 1.227 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.568, allocations: 315.2 kB / 1.228 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5681, allocations: 38.56 kB / 1.228 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 2.374e-06/0.5681, allocations: 0 / 1.228 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0008739/0.569, allocations: 311.4 kB / 1.228 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.569, allocations: 55.39 kB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.5694, allocations: 324.5 kB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.5694, allocations: 25.7 kB / 1.228 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5696, allocations: 180.2 kB / 1.229 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.5696, allocations: 59.11 kB / 1.229 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.5697, allocations: 25.7 kB / 1.229 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5698, allocations: 342.8 kB / 1.229 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.57, allocations: 75.89 kB / 1.229 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.5703, allocations: 139.9 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.5707, allocations: 202.8 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.5707, allocations: 7.938 kB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005298/0.5712, allocations: 257.2 kB / 1.23 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5713, allocations: 8 kB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.5713, allocations: 4 kB / 1.23 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5713, allocations: 7.922 kB / 1.23 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.5715, allocations: 43.92 kB / 1.23 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5716, allocations: 4 kB / 1.23 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.5718, allocations: 39.67 kB / 1.23 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.5719, allocations: 15.98 kB / 1.23 GB, free: 5.203 MB / 0.9825 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.0001756/0.572, allocations: 153.7 kB / 1.23 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.5721, allocations: 31.62 kB / 1.23 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.5727, allocations: 234.2 kB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5727, allocations: 4 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5727, allocations: 7.938 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5727, allocations: 0 / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5739, allocations: 0.7185 MB / 1.231 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5739, allocations: 4 kB / 1.231 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.5741, allocations: 44.08 kB / 1.231 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5741, allocations: 4 kB / 1.231 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5741, allocations: 4 kB / 1.231 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5741, allocations: 3.938 kB / 1.231 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5741, allocations: 4 kB / 1.231 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.5749, allocations: 470.6 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.575, allocations: 124.6 kB / 1.232 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.575, allocations: 8 kB / 1.232 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5753, allocations: 19.92 kB / 1.232 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.5753, allocations: 23.98 kB / 1.232 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5753, allocations: 4 kB / 1.232 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002368/0.5756, allocations: 231 kB / 1.232 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5756, allocations: 0 / 1.232 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000426/0.576, allocations: 87.83 kB / 1.232 GB, free: 2.906 MB / 0.9825 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.0004373/0.5765, allocations: 179.5 kB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.577, allocations: 186 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.577, allocations: 4 kB / 1.232 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.5772, allocations: 100 kB / 1.232 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5782, allocations: 153.7 kB / 1.233 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5793, allocations: 0.7724 MB / 1.233 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5797, allocations: 0.7797 MB / 1.234 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.5799, allocations: 62.92 kB / 1.234 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.58, allocations: 27.44 kB / 1.234 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.58, allocations: 4 kB / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of Templates: time 0.01085/0.5908, allocations: 5.506 MB / 1.24 GB, free: 11.16 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