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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006995/0.006995, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001517/0.001517, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.479/2.479, allocations: 437.1 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 71.88 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8437, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1874/1.031, allocations: 167.4 MB / 1.33 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002656/1.034, allocations: 1.555 MB / 1.331 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/1.034, allocations: 11.94 kB / 1.331 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/1.035, allocations: 150.8 kB / 1.331 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/1.036, allocations: 0.7468 MB / 1.332 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/1.038, allocations: 0.6084 MB / 1.333 GB, free: 8.688 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000783/1.039, allocations: 0.7215 MB / 1.333 GB, free: 7.965 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/1.039, allocations: 240.8 kB / 1.334 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/1.04, allocations: 354.7 kB / 1.334 GB, free: 7.379 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/1.04, allocations: 223.1 kB / 1.334 GB, free: 7.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/1.04, allocations: 23.94 kB / 1.334 GB, free: 7.137 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/1.041, allocations: 0.8767 MB / 1.335 GB, free: 6.258 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/1.042, allocations: 115.7 kB / 1.335 GB, free: 6.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/1.042, allocations: 163.2 kB / 1.335 GB, free: 5.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/1.043, allocations: 0.7435 MB / 1.336 GB, free: 5.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.043, allocations: 0 / 1.336 GB, free: 5.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/1.043, allocations: 0 / 1.336 GB, free: 5.242 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.206e-06/1.043, allocations: 0 / 1.336 GB, free: 5.242 MB / 1.061 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.0009261/1.044, allocations: 0.6732 MB / 1.337 GB, free: 4.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.044, allocations: 8.922 kB / 1.337 GB, free: 4.512 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/1.044, allocations: 62.55 kB / 1.337 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.045, allocations: 155.6 kB / 1.337 GB, free: 4.289 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.045, allocations: 326.9 kB / 1.337 GB, free: 3.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/1.046, allocations: 24.5 kB / 1.337 GB, free: 3.906 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/1.046, allocations: 27.95 kB / 1.337 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/1.046, allocations: 281.8 kB / 1.338 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.046, allocations: 0 / 1.338 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/1.046, allocations: 8 kB / 1.338 GB, free: 3.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.046, allocations: 12 kB / 1.338 GB, free: 3.566 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/1.047, allocations: 200.9 kB / 1.338 GB, free: 3.371 MB / 1.061 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.00151/1.048, allocations: 1.227 MB / 1.339 GB, free: 2.039 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/1.048, allocations: 146.5 kB / 1.339 GB, free: 1.887 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/1.049, allocations: 96.8 kB / 1.339 GB, free: 1.789 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/1.049, allocations: 299.2 kB / 1.339 GB, free: 1.441 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.049, allocations: 34.56 kB / 1.339 GB, free: 1.398 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 3.627e-06/1.049, allocations: 0 / 1.339 GB, free: 1.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0008101/1.05, allocations: 300.2 kB / 1.34 GB, free: 1.102 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.05, allocations: 55.41 kB / 1.34 GB, free: 1.035 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/1.05, allocations: 328.5 kB / 1.34 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/1.05, allocations: 29.7 kB / 1.34 GB, free: 0.668 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/1.051, allocations: 180.3 kB / 1.34 GB, free: 500 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/1.051, allocations: 63.44 kB / 1.34 GB, free: 436 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/1.051, allocations: 49.7 kB / 1.34 GB, free: 380 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.051, allocations: 338.8 kB / 1.341 GB, free: 32 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.051, allocations: 71.94 kB / 1.341 GB, free: 15.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/1.051, allocations: 125 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/1.052, allocations: 203.7 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.052, allocations: 4 kB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004578/1.052, allocations: 257.2 kB / 1.341 GB, free: 15.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.052, allocations: 8 kB / 1.341 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.052, allocations: 0 / 1.341 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.052, allocations: 4 kB / 1.341 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/1.052, allocations: 43.92 kB / 1.341 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.053, allocations: 7.984 kB / 1.341 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.053, allocations: 31.78 kB / 1.341 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/1.053, allocations: 11.98 kB / 1.341 GB, free: 15.24 MB / 1.076 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.0001344/1.053, allocations: 161.7 kB / 1.342 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/1.053, allocations: 35.77 kB / 1.342 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/1.053, allocations: 224.7 kB / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.053, allocations: 144 / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.053, allocations: 0 / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.053, allocations: 3.984 kB / 1.342 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.054, allocations: 0.7146 MB / 1.343 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.055, allocations: 4.219 kB / 1.343 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/1.055, allocations: 35.92 kB / 1.343 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.055, allocations: 4 kB / 1.343 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.055, allocations: 7.938 kB / 1.343 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.055, allocations: 0 / 1.343 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.055, allocations: 4 kB / 1.343 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/1.055, allocations: 455.4 kB / 1.343 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/1.056, allocations: 128.9 kB / 1.343 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/1.056, allocations: 16 kB / 1.343 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.056, allocations: 7.984 kB / 1.343 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/1.056, allocations: 19.92 kB / 1.343 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.056, allocations: 4 kB / 1.343 GB, free: 13.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002553/1.056, allocations: 231 kB / 1.343 GB, free: 13.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.056, allocations: 0 / 1.343 GB, free: 13.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004323/1.057, allocations: 83.89 kB / 1.344 GB, free: 12.98 MB / 1.076 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.001247/1.058, allocations: 1.05 MB / 1.345 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004534/1.058, allocations: 179.8 kB / 1.345 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.058, allocations: 0 / 1.345 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/1.059, allocations: 91.83 kB / 1.345 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/1.06, allocations: 171.2 kB / 1.345 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/1.063, allocations: 3.015 MB / 1.348 GB, free: 8.297 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/1.064, allocations: 0.7872 MB / 1.349 GB, free: 7.484 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002489/1.064, allocations: 62.94 kB / 1.349 GB, free: 7.426 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.064, allocations: 91.41 kB / 1.349 GB, free: 7.336 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/1.064, allocations: 0 / 1.349 GB, free: 7.336 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/1.095, allocations: 9.031 MB / 1.358 GB, free: 14.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/9.204, allocations: 10.56 kB / 1.358 GB, free: 14.47 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches