Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001276/0.001276, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.00172/0.00172, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002959/0.00296, allocations: 71.98 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3449, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6951/1.04, allocations: 165.1 MB / 1.225 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003093/1.043, allocations: 1.563 MB / 1.227 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/1.044, allocations: 10.31 kB / 1.227 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00079/1.045, allocations: 126 kB / 1.227 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002858/1.047, allocations: 0.6662 MB / 1.228 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/1.05, allocations: 0.5617 MB / 1.228 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001208/1.051, allocations: 0.7143 MB / 1.229 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/1.052, allocations: 224.8 kB / 1.229 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000826/1.053, allocations: 357.2 kB / 1.23 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/1.053, allocations: 238.6 kB / 1.23 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/1.053, allocations: 24.09 kB / 1.23 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/1.055, allocations: 0.9008 MB / 1.231 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/1.055, allocations: 114.7 kB / 1.231 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/1.055, allocations: 176.5 kB / 1.231 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008646/1.056, allocations: 0.5007 MB / 1.231 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.056, allocations: 0 / 1.231 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.318e-06/1.056, allocations: 0 / 1.231 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.056, allocations: 3.938 kB / 1.231 GB, free: 13.77 MB / 0.9512 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.001219/1.057, allocations: 0.6575 MB / 1.232 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.057, allocations: 12.03 kB / 1.232 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.059, allocations: 159.3 kB / 1.232 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/1.059, allocations: 318.6 kB / 1.233 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/1.059, allocations: 12.56 kB / 1.233 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/1.059, allocations: 27.94 kB / 1.233 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/1.06, allocations: 285.8 kB / 1.233 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/1.06, allocations: 0 / 1.233 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/1.06, allocations: 11.94 kB / 1.233 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/1.06, allocations: 8 kB / 1.233 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/1.06, allocations: 200.9 kB / 1.233 GB, free: 12.07 MB / 0.9512 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.001672/1.062, allocations: 1.231 MB / 1.234 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/1.062, allocations: 154.4 kB / 1.234 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/1.063, allocations: 88.81 kB / 1.234 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/1.063, allocations: 307.2 kB / 1.235 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/1.063, allocations: 30.56 kB / 1.235 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/1.063, allocations: 0 / 1.235 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.000856/1.064, allocations: 299.7 kB / 1.235 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.064, allocations: 55.41 kB / 1.235 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/1.065, allocations: 324.5 kB / 1.235 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/1.065, allocations: 29.7 kB / 1.235 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.065, allocations: 180.1 kB / 1.236 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/1.065, allocations: 63.17 kB / 1.236 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/1.065, allocations: 57.61 kB / 1.236 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.065, allocations: 334.8 kB / 1.236 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.065, allocations: 67.95 kB / 1.236 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/1.066, allocations: 127.1 kB / 1.236 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/1.066, allocations: 193.8 kB / 1.236 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.066, allocations: 4 kB / 1.236 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005063/1.067, allocations: 255.1 kB / 1.237 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.067, allocations: 8 kB / 1.237 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.067, allocations: 3.984 kB / 1.237 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.067, allocations: 4 kB / 1.237 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.067, allocations: 35.98 kB / 1.237 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.067, allocations: 8.875 kB / 1.237 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/1.067, allocations: 35.67 kB / 1.237 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/1.067, allocations: 20.05 kB / 1.237 GB, free: 7.945 MB / 0.9512 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.0001637/1.067, allocations: 152 kB / 1.237 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/1.067, allocations: 31.38 kB / 1.237 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/1.068, allocations: 232.6 kB / 1.237 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.068, allocations: 4 kB / 1.237 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.068, allocations: 0 / 1.237 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.068, allocations: 3.984 kB / 1.237 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/1.069, allocations: 0.7146 MB / 1.238 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.069, allocations: 0 / 1.238 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.069, allocations: 31.98 kB / 1.238 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.069, allocations: 0 / 1.238 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.069, allocations: 8.094 kB / 1.238 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/1.069, allocations: 15.81 kB / 1.238 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.069, allocations: 4 kB / 1.238 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/1.07, allocations: 447 kB / 1.238 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.07, allocations: 124.8 kB / 1.239 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/1.07, allocations: 8 kB / 1.239 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/1.071, allocations: 20 kB / 1.239 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/1.071, allocations: 19.97 kB / 1.239 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.071, allocations: 8 kB / 1.239 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002444/1.071, allocations: 231 kB / 1.239 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 4 kB / 1.239 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004167/1.071, allocations: 83.98 kB / 1.239 GB, free: 5.695 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.0004289/1.072, allocations: 161.5 kB / 1.239 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004827/1.072, allocations: 195.6 kB / 1.239 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.072, allocations: 0 / 1.239 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/1.072, allocations: 95.81 kB / 1.239 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/1.073, allocations: 175.1 kB / 1.239 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.075, allocations: 0.7474 MB / 1.24 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/1.075, allocations: 0.7834 MB / 1.241 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/1.075, allocations: 31.38 kB / 1.241 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.075, allocations: 0 / 1.241 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of Templates: time 0.008464/1.084, allocations: 4.924 MB / 1.246 GB, free: 14.57 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches