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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_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.009279/0.009279, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.00224/0.00224, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.931/2.931, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8885/1.224, allocations: 167.4 MB / 1.384 GB, free: 2.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003258/1.227, allocations: 1.571 MB / 1.385 GB, free: 1.398 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/1.227, allocations: 11.53 kB / 1.385 GB, free: 1.395 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/1.228, allocations: 150.6 kB / 1.385 GB, free: 1.262 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/1.23, allocations: 0.705 MB / 1.386 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/1.232, allocations: 0.5961 MB / 1.387 GB, free: 296 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001115/1.233, allocations: 0.7117 MB / 1.387 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/1.233, allocations: 234.5 kB / 1.388 GB, free: 15.74 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/1.234, allocations: 359.3 kB / 1.388 GB, free: 15.53 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/1.234, allocations: 221.9 kB / 1.388 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/1.234, allocations: 23.5 kB / 1.388 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/1.236, allocations: 0.8711 MB / 1.389 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/1.236, allocations: 115 kB / 1.389 GB, free: 14.83 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/1.237, allocations: 176.3 kB / 1.389 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/1.238, allocations: 0.7296 MB / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.238, allocations: 1.25 kB / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/1.238, allocations: 0 / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.238, allocations: 0 / 1.39 GB, free: 14.29 MB / 1.092 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.001097/1.239, allocations: 0.6727 MB / 1.391 GB, free: 13.69 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.239, allocations: 12.62 kB / 1.391 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/1.239, allocations: 54.02 kB / 1.391 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.24, allocations: 161.2 kB / 1.391 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/1.241, allocations: 332.5 kB / 1.391 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/1.241, allocations: 14.06 kB / 1.391 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/1.241, allocations: 28.31 kB / 1.391 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/1.242, allocations: 284.2 kB / 1.391 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.242, allocations: 0 / 1.391 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/1.242, allocations: 10.66 kB / 1.391 GB, free: 13.03 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/1.242, allocations: 9.5 kB / 1.391 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/1.242, allocations: 206 kB / 1.392 GB, free: 12.93 MB / 1.092 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.001657/1.244, allocations: 1.223 MB / 1.393 GB, free: 11.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/1.244, allocations: 153 kB / 1.393 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/1.244, allocations: 98.77 kB / 1.393 GB, free: 11.66 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/1.245, allocations: 302.4 kB / 1.393 GB, free: 11.35 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.245, allocations: 31.75 kB / 1.393 GB, free: 11.31 MB / 1.092 GB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/1.245, allocations: 1.188 kB / 1.393 GB, free: 11.31 MB / 1.092 GB Notification: Performance of matching and sorting (n=17): time 0.0008662/1.246, allocations: 296.9 kB / 1.394 GB, free: 11.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.246, allocations: 57.53 kB / 1.394 GB, free: 11.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/1.246, allocations: 320.2 kB / 1.394 GB, free: 10.89 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.246, allocations: 34.73 kB / 1.394 GB, free: 10.85 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/1.247, allocations: 188.7 kB / 1.394 GB, free: 10.68 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/1.247, allocations: 62.67 kB / 1.394 GB, free: 10.62 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/1.247, allocations: 47.8 kB / 1.394 GB, free: 10.59 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.247, allocations: 342.6 kB / 1.395 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/1.247, allocations: 64.27 kB / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/1.247, allocations: 131.3 kB / 1.395 GB, free: 10.13 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/1.248, allocations: 191.6 kB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.248, allocations: 3.938 kB / 1.395 GB, free: 10 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005232/1.248, allocations: 257.2 kB / 1.395 GB, free: 9.863 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.248, allocations: 6.844 kB / 1.395 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.248, allocations: 8.969 kB / 1.395 GB, free: 9.855 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.248, allocations: 6.922 kB / 1.395 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/1.249, allocations: 42.72 kB / 1.395 GB, free: 9.844 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.249, allocations: 4.844 kB / 1.395 GB, free: 9.844 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/1.249, allocations: 35.33 kB / 1.395 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/1.249, allocations: 14.84 kB / 1.395 GB, free: 9.812 MB / 1.092 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.0001675/1.249, allocations: 152 kB / 1.396 GB, free: 9.672 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/1.249, allocations: 34.61 kB / 1.396 GB, free: 9.652 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/1.25, allocations: 232.9 kB / 1.396 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.25, allocations: 2.219 kB / 1.396 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.25, allocations: 1.25 kB / 1.396 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.25, allocations: 0 / 1.396 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/1.251, allocations: 0.7098 MB / 1.397 GB, free: 8.914 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.251, allocations: 2.938 kB / 1.397 GB, free: 8.914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/1.251, allocations: 34.22 kB / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.251, allocations: 2.719 kB / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/1.251, allocations: 7.969 kB / 1.397 GB, free: 8.902 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/1.251, allocations: 6.844 kB / 1.397 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.251, allocations: 6.062 kB / 1.397 GB, free: 8.895 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/1.252, allocations: 448.8 kB / 1.397 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/1.252, allocations: 131.4 kB / 1.397 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/1.252, allocations: 8 kB / 1.397 GB, free: 8.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.253, allocations: 12.38 kB / 1.397 GB, free: 8.422 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/1.253, allocations: 15.55 kB / 1.397 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/1.253, allocations: 12.48 kB / 1.397 GB, free: 8.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000289/1.253, allocations: 232.4 kB / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.253, allocations: 0 / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004636/1.253, allocations: 81.58 kB / 1.397 GB, free: 8.246 MB / 1.092 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.001544/1.255, allocations: 1.056 MB / 1.399 GB, free: 7.344 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005111/1.256, allocations: 181.6 kB / 1.399 GB, free: 7.266 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.256, allocations: 0 / 1.399 GB, free: 7.266 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/1.256, allocations: 95.78 kB / 1.399 GB, free: 7.223 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/1.257, allocations: 168 kB / 1.399 GB, free: 7.141 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/1.261, allocations: 3.018 MB / 1.402 GB, free: 4.887 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/1.262, allocations: 0.7813 MB / 1.403 GB, free: 4.145 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002499/1.262, allocations: 62.98 kB / 1.403 GB, free: 4.121 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/1.262, allocations: 93.03 kB / 1.403 GB, free: 4.047 MB / 1.092 GB Notification: Performance of SimCode: time 6.92e-07/1.262, allocations: 0 / 1.403 GB, free: 4.047 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/1.299, allocations: 9.014 MB / 1.412 GB, free: 15.58 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.68/9.98, allocations: 9.844 kB / 1.412 GB, free: 15.57 MB / 1.107 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/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