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.00592/0.00592, allocations: 97.45 kB / 15.73 MB, free: 5.996 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.001365/0.001365, allocations: 184.8 kB / 16.67 MB, free: 5.926 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.757/2.757, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3178, allocations: 151.6 MB / 1.166 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8629/1.181, allocations: 167.4 MB / 1.33 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003223/1.184, allocations: 1.562 MB / 1.331 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/1.184, allocations: 11.12 kB / 1.331 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/1.185, allocations: 150 kB / 1.331 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/1.187, allocations: 0.7008 MB / 1.332 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/1.189, allocations: 0.6025 MB / 1.333 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001042/1.19, allocations: 0.7088 MB / 1.333 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/1.191, allocations: 243.6 kB / 1.334 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/1.191, allocations: 356.8 kB / 1.334 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/1.192, allocations: 224.1 kB / 1.334 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/1.192, allocations: 23.34 kB / 1.334 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/1.194, allocations: 0.8696 MB / 1.335 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/1.194, allocations: 110.5 kB / 1.335 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/1.194, allocations: 170 kB / 1.335 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/1.195, allocations: 0.7339 MB / 1.336 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/1.195, allocations: 1.25 kB / 1.336 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.173e-06/1.195, allocations: 0 / 1.336 GB, free: 288 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.195, allocations: 4 kB / 1.336 GB, free: 284 kB / 1.014 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.001112/1.197, allocations: 0.6752 MB / 1.337 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.197, allocations: 9.375 kB / 1.337 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.503e-05/1.197, allocations: 57.58 kB / 1.337 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.198, allocations: 159 kB / 1.337 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/1.199, allocations: 328.6 kB / 1.337 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/1.199, allocations: 13.84 kB / 1.337 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/1.199, allocations: 31.98 kB / 1.337 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/1.199, allocations: 285.3 kB / 1.337 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.199, allocations: 2.578 kB / 1.337 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/1.199, allocations: 10.41 kB / 1.337 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.199, allocations: 5.781 kB / 1.337 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/1.2, allocations: 200.4 kB / 1.338 GB, free: 15.13 MB / 1.029 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.001567/1.201, allocations: 1.234 MB / 1.339 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/1.202, allocations: 151.1 kB / 1.339 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.202, allocations: 93.97 kB / 1.339 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/1.202, allocations: 307.7 kB / 1.339 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.203, allocations: 32.09 kB / 1.339 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/1.203, allocations: 0 / 1.339 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008353/1.203, allocations: 296.7 kB / 1.34 GB, free: 13.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/1.203, allocations: 61.81 kB / 1.34 GB, free: 13.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/1.204, allocations: 321 kB / 1.34 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/1.204, allocations: 31.17 kB / 1.34 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.204, allocations: 180.4 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/1.204, allocations: 65.14 kB / 1.34 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/1.204, allocations: 47.66 kB / 1.34 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.204, allocations: 340.2 kB / 1.341 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.205, allocations: 69.77 kB / 1.341 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/1.205, allocations: 127.9 kB / 1.341 GB, free: 12.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/1.205, allocations: 192.7 kB / 1.341 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.205, allocations: 5.375 kB / 1.341 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005144/1.206, allocations: 253.6 kB / 1.341 GB, free: 12.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.206, allocations: 9.844 kB / 1.341 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.206, allocations: 5.375 kB / 1.341 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.206, allocations: 6.688 kB / 1.341 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/1.206, allocations: 40.62 kB / 1.341 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.206, allocations: 2.594 kB / 1.341 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/1.206, allocations: 36.56 kB / 1.341 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/1.206, allocations: 11.7 kB / 1.341 GB, free: 12.4 MB / 1.029 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.0001609/1.207, allocations: 154 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/1.207, allocations: 38.31 kB / 1.342 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/1.207, allocations: 237.8 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.207, allocations: 2.594 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.207, allocations: 0 / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.207, allocations: 0 / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.208, allocations: 0.7083 MB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.208, allocations: 1.25 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/1.208, allocations: 33.8 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.208, allocations: 3.094 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/1.209, allocations: 7.281 kB / 1.343 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.209, allocations: 10.59 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.209, allocations: 6.219 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/1.209, allocations: 452.6 kB / 1.343 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/1.209, allocations: 125.9 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/1.209, allocations: 8.812 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/1.21, allocations: 15.98 kB / 1.343 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/1.21, allocations: 16.47 kB / 1.343 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.21, allocations: 5.031 kB / 1.343 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002449/1.21, allocations: 234.1 kB / 1.343 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.71e-07/1.21, allocations: 0 / 1.343 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004451/1.21, allocations: 81.95 kB / 1.344 GB, free: 11.06 MB / 1.029 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.001331/1.212, allocations: 1.053 MB / 1.345 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004682/1.212, allocations: 176.8 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.212, allocations: 1.562 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/1.213, allocations: 96.09 kB / 1.345 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/1.213, allocations: 174.7 kB / 1.345 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/1.217, allocations: 3.009 MB / 1.348 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/1.218, allocations: 0.7851 MB / 1.349 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002511/1.218, allocations: 66.36 kB / 1.349 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.218, allocations: 93.86 kB / 1.349 GB, free: 7.297 MB / 1.029 GB Notification: Performance of SimCode: time 7.82e-07/1.218, allocations: 0 / 1.349 GB, free: 7.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/1.254, allocations: 9.015 MB / 1.358 GB, free: 4.734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/9.813, allocations: 14.73 kB / 1.358 GB, free: 4.727 MB / 1.029 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