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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 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.001191/0.001191, allocations: 195.9 kB / 16.54 MB, free: 6.672 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.662/2.662, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 67.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6442, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1754/0.8196, allocations: 167.4 MB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.8224, allocations: 1.561 MB / 1.182 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.8228, allocations: 11.94 kB / 1.182 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.8234, allocations: 150.8 kB / 1.183 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.8252, allocations: 0.7078 MB / 1.183 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.8269, allocations: 0.6033 MB / 1.184 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.8278, allocations: 0.7177 MB / 1.185 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.8283, allocations: 237 kB / 1.185 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.8291, allocations: 342.7 kB / 1.185 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.8294, allocations: 227 kB / 1.185 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.8295, allocations: 23.98 kB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.8312, allocations: 0.865 MB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.8314, allocations: 115.7 kB / 1.186 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.8316, allocations: 167.2 kB / 1.186 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.833, allocations: 0.7246 MB / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.833, allocations: 0 / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/0.833, allocations: 0 / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.833, allocations: 0 / 1.187 GB, free: 3.969 MB / 0.9356 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.001186/0.8342, allocations: 0.6583 MB / 1.188 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8343, allocations: 12.03 kB / 1.188 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.8343, allocations: 58.55 kB / 1.188 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.8356, allocations: 151.5 kB / 1.188 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.8361, allocations: 322.5 kB / 1.188 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.8362, allocations: 16.5 kB / 1.188 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.8362, allocations: 24 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.8368, allocations: 285.8 kB / 1.189 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8368, allocations: 0 / 1.189 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.8368, allocations: 8 kB / 1.189 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.8368, allocations: 8 kB / 1.189 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.8373, allocations: 200.9 kB / 1.189 GB, free: 2.129 MB / 0.9356 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.001465/0.8388, allocations: 1.238 MB / 1.19 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.8391, allocations: 142.5 kB / 1.19 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.8393, allocations: 100.7 kB / 1.19 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006994/0.84, allocations: 303.2 kB / 1.191 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.84, allocations: 30.56 kB / 1.191 GB, free: 148 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.84, allocations: 0 / 1.191 GB, free: 148 kB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0008948/0.8409, allocations: 307.1 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.841, allocations: 55.41 kB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.8413, allocations: 316.5 kB / 1.191 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.8414, allocations: 33.7 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.8415, allocations: 180.1 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.8416, allocations: 67.09 kB / 1.192 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.8417, allocations: 49.61 kB / 1.192 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8418, allocations: 338.8 kB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.842, allocations: 63.95 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.8422, allocations: 133.1 kB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.8426, allocations: 196.9 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8426, allocations: 0 / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004972/0.8431, allocations: 263 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8431, allocations: 4 kB / 1.193 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.8432, allocations: 4 kB / 1.193 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8432, allocations: 0 / 1.193 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.8434, allocations: 43.92 kB / 1.193 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8434, allocations: 4 kB / 1.193 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.8436, allocations: 31.67 kB / 1.193 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.8437, allocations: 12 kB / 1.193 GB, free: 13.99 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.0001356/0.8438, allocations: 157.8 kB / 1.193 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.8439, allocations: 27.62 kB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.8444, allocations: 233.7 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8444, allocations: 4 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8444, allocations: 0 / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8444, allocations: 0 / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.8455, allocations: 0.7108 MB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8455, allocations: 8.047 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.8457, allocations: 31.98 kB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8457, allocations: 0 / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.8457, allocations: 11.94 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.8457, allocations: 7.938 kB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8457, allocations: 7.938 kB / 1.194 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.8464, allocations: 446 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8466, allocations: 121 kB / 1.194 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.8466, allocations: 19.88 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.8468, allocations: 15.98 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.8469, allocations: 7.984 kB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8469, allocations: 8 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002179/0.8471, allocations: 235 kB / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8471, allocations: 0 / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000397/0.8475, allocations: 83.84 kB / 1.195 GB, free: 11.73 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.001212/0.8487, allocations: 1.045 MB / 1.196 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.8492, allocations: 200.6 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8492, allocations: 0 / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.8494, allocations: 91.83 kB / 1.196 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.8503, allocations: 164.9 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.854, allocations: 3.015 MB / 1.199 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.8544, allocations: 0.7832 MB / 1.2 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.8546, allocations: 66.92 kB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.8548, allocations: 95.41 kB / 1.2 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.8548, allocations: 0 / 1.2 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.8846, allocations: 8.93 MB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.973, allocations: 11.25 kB / 1.209 GB, free: 13.3 MB / 0.9669 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