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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001047/0.001047, allocations: 91.61 kB / 16.02 MB, free: 80 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.001469/0.001469, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.77/2.77, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003717, allocations: 8.938 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3548, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1988/0.5537, allocations: 163 MB / 1.219 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.5565, allocations: 1.556 MB / 1.22 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.5569, allocations: 11.88 kB / 1.22 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.5574, allocations: 115.2 kB / 1.22 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.5591, allocations: 0.6691 MB / 1.221 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.5607, allocations: 0.5369 MB / 1.221 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.5618, allocations: 0.9944 MB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.5623, allocations: 201.1 kB / 1.222 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008044/0.5631, allocations: 318.7 kB / 1.223 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.5635, allocations: 239 kB / 1.223 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.5636, allocations: 12 kB / 1.223 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.5653, allocations: 1.013 MB / 1.224 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.5655, allocations: 95.7 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.5657, allocations: 184.8 kB / 1.224 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006897/0.5664, allocations: 0.5067 MB / 1.225 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5664, allocations: 4 kB / 1.225 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5664, allocations: 4 kB / 1.225 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5664, allocations: 0 / 1.225 GB, free: 10.89 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.00104/0.5675, allocations: 0.5999 MB / 1.225 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5675, allocations: 15.97 kB / 1.225 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.5687, allocations: 155.4 kB / 1.226 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.5692, allocations: 318.6 kB / 1.226 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5692, allocations: 16.56 kB / 1.226 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.5693, allocations: 27.94 kB / 1.226 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.5698, allocations: 289.8 kB / 1.226 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5698, allocations: 0 / 1.226 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.5698, allocations: 8 kB / 1.226 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5699, allocations: 4 kB / 1.226 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.5703, allocations: 212.9 kB / 1.226 GB, free: 9.156 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.001503/0.5718, allocations: 1.234 MB / 1.228 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.5721, allocations: 158.4 kB / 1.228 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.5724, allocations: 96.81 kB / 1.228 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.573, allocations: 319.2 kB / 1.228 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.573, allocations: 34.56 kB / 1.228 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.573, allocations: 0 / 1.228 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0008206/0.5739, allocations: 318.4 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.5739, allocations: 51.41 kB / 1.229 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.5743, allocations: 328.5 kB / 1.229 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5743, allocations: 25.7 kB / 1.229 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.5744, allocations: 180.2 kB / 1.229 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.5745, allocations: 67.03 kB / 1.229 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.5746, allocations: 21.72 kB / 1.229 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5747, allocations: 342.8 kB / 1.229 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.5749, allocations: 75.95 kB / 1.23 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.5751, allocations: 130.9 kB / 1.23 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.5755, allocations: 215.9 kB / 1.23 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.5755, allocations: 7.938 kB / 1.23 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005016/0.576, allocations: 261.1 kB / 1.23 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5761, allocations: 7.938 kB / 1.23 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5761, allocations: 4 kB / 1.23 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5761, allocations: 0 / 1.23 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5763, allocations: 47.91 kB / 1.23 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5763, allocations: 8.094 kB / 1.23 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.5766, allocations: 39.67 kB / 1.23 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.5766, allocations: 8 kB / 1.23 GB, free: 4.957 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.0001485/0.5768, allocations: 157.7 kB / 1.23 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.5768, allocations: 27.62 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.5773, allocations: 238.1 kB / 1.231 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5774, allocations: 4 kB / 1.231 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5774, allocations: 0 / 1.231 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5774, allocations: 0 / 1.231 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5784, allocations: 0.7224 MB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5785, allocations: 4 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.5786, allocations: 39.91 kB / 1.231 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.5787, allocations: 4 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5787, allocations: 4 kB / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5787, allocations: 3.938 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5787, allocations: 4 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.5794, allocations: 470.8 kB / 1.232 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.5796, allocations: 124.6 kB / 1.232 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.5796, allocations: 4 kB / 1.232 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.5798, allocations: 27.98 kB / 1.232 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5799, allocations: 19.98 kB / 1.232 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5799, allocations: 4 kB / 1.232 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002232/0.5801, allocations: 235 kB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5801, allocations: 0 / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004053/0.5806, allocations: 87.84 kB / 1.232 GB, free: 2.66 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.0003829/0.5809, allocations: 168.5 kB / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.5814, allocations: 189.5 kB / 1.233 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5814, allocations: 4 kB / 1.233 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.5816, allocations: 95.83 kB / 1.233 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009956/0.5827, allocations: 165.1 kB / 1.233 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5838, allocations: 0.7897 MB / 1.234 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5842, allocations: 0.7798 MB / 1.234 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.5842, allocations: 35.44 kB / 1.234 GB, free: 372 kB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.5843, allocations: 0 / 1.234 GB, free: 372 kB / 0.9825 GB Notification: Performance of Templates: time 0.008122/0.5924, allocations: 4.888 MB / 1.239 GB, free: 11.53 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches