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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 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.001188/0.001188, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.06 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3333, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2336/0.567, allocations: 167.4 MB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.57, allocations: 1.566 MB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.5706, allocations: 11.94 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.5712, allocations: 150.8 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.5733, allocations: 0.7039 MB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.575, allocations: 0.599 MB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.5761, allocations: 0.7216 MB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.5766, allocations: 233.1 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007018/0.5773, allocations: 338.7 kB / 1.231 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.5776, allocations: 239 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.5777, allocations: 24 kB / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.5793, allocations: 0.8612 MB / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.5794, allocations: 111.6 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.5796, allocations: 175.1 kB / 1.233 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.5808, allocations: 0.7169 MB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5809, allocations: 0 / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5809, allocations: 3.938 kB / 1.233 GB, free: 72 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5809, allocations: 0 / 1.233 GB, free: 72 kB / 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.0009537/0.5818, allocations: 0.6635 MB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5819, allocations: 8.031 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.582, allocations: 58.55 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5831, allocations: 163.3 kB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.5836, allocations: 306.7 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5836, allocations: 20.5 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.5837, allocations: 28 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.5842, allocations: 285.8 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5842, allocations: 0 / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.5842, allocations: 12 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5842, allocations: 4 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.5847, allocations: 204.9 kB / 1.235 GB, free: 14.23 MB / 0.9981 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.001432/0.5861, allocations: 1.227 MB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.5864, allocations: 150.5 kB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.5866, allocations: 92.8 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/0.5873, allocations: 307.2 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5873, allocations: 34.88 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.5873, allocations: 4 kB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007903/0.5881, allocations: 290.9 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.5882, allocations: 55.41 kB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.5885, allocations: 332.5 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.5885, allocations: 29.7 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.5887, allocations: 184.1 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.5887, allocations: 63.05 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.5888, allocations: 45.7 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5889, allocations: 338.8 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5891, allocations: 71.94 kB / 1.238 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.5893, allocations: 121.1 kB / 1.238 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.5897, allocations: 200.9 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5897, allocations: 4 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004935/0.5902, allocations: 254 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5902, allocations: 8 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5903, allocations: 144 / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5903, allocations: 4 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5905, allocations: 48 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5905, allocations: 7.984 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.5907, allocations: 31.75 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.5908, allocations: 11.98 kB / 1.239 GB, free: 10.09 MB / 0.9981 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.000151/0.5909, allocations: 153.7 kB / 1.239 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.591, allocations: 27.72 kB / 1.239 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.5915, allocations: 234.3 kB / 1.239 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5915, allocations: 0 / 1.239 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5915, allocations: 3.938 kB / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5915, allocations: 0 / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5926, allocations: 0.7107 MB / 1.24 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5927, allocations: 4 kB / 1.24 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.5928, allocations: 31.92 kB / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.5929, allocations: 4 kB / 1.24 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5929, allocations: 7.938 kB / 1.24 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5929, allocations: 0 / 1.24 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5929, allocations: 8.219 kB / 1.24 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.5936, allocations: 448.9 kB / 1.24 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5937, allocations: 128.7 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.5938, allocations: 7.938 kB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.594, allocations: 11.98 kB / 1.241 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.594, allocations: 15.98 kB / 1.241 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.5941, allocations: 8.062 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002257/0.5943, allocations: 235.1 kB / 1.241 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5943, allocations: 3.938 kB / 1.241 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004177/0.5947, allocations: 83.94 kB / 1.241 GB, free: 7.848 MB / 0.9981 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.001239/0.596, allocations: 1.053 MB / 1.242 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.5965, allocations: 186.6 kB / 1.242 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5965, allocations: 4 kB / 1.242 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.5967, allocations: 88.27 kB / 1.242 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/0.5976, allocations: 173.9 kB / 1.242 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.6016, allocations: 3.019 MB / 1.245 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.602, allocations: 0.7873 MB / 1.246 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.6022, allocations: 66.92 kB / 1.246 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6024, allocations: 87.41 kB / 1.246 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.6024, allocations: 7.938 kB / 1.246 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4803/1.083, allocations: 8.922 MB / 1.255 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.9, allocations: 9.344 kB / 1.255 GB, free: 188.1 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/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