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.00122/0.00122, 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.001343/0.001343, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.283/1.283, 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 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7424 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.38 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.377, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1796/0.5567, allocations: 167.4 MB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.5594, allocations: 1.556 MB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.5596, allocations: 11.94 kB / 1.229 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.5601, allocations: 150.8 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.5617, allocations: 0.7078 MB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.563, allocations: 0.5964 MB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.5637, allocations: 0.7255 MB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.564, allocations: 233.1 kB / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.5646, allocations: 338.7 kB / 1.232 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.5649, allocations: 227 kB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.5649, allocations: 28 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.5662, allocations: 0.8611 MB / 1.233 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.5664, allocations: 115.7 kB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.5665, allocations: 175.1 kB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009554/0.5675, allocations: 0.7246 MB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.5675, allocations: 0 / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5675, allocations: 0 / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5675, allocations: 0 / 1.234 GB, free: 15.69 MB / 0.9981 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.0008531/0.5684, allocations: 0.6623 MB / 1.234 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.5684, allocations: 8.031 kB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.5685, allocations: 62.53 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.5695, allocations: 151.3 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.5699, allocations: 318.6 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.57, allocations: 20.5 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.57, allocations: 24 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.5705, allocations: 289.8 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.5705, allocations: 0 / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.5706, allocations: 11.98 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5706, allocations: 4 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.571, allocations: 196.9 kB / 1.236 GB, free: 13.85 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.0014/0.5724, allocations: 1.23 MB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.5727, allocations: 154.4 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.5729, allocations: 92.8 kB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.5735, allocations: 303.2 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.5735, allocations: 34.88 kB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.5736, allocations: 0 / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007441/0.5743, allocations: 302.4 kB / 1.238 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5744, allocations: 55.41 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.5747, allocations: 324.5 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.5747, allocations: 29.7 kB / 1.238 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5749, allocations: 184.1 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.5749, allocations: 67.09 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.575, allocations: 45.7 kB / 1.238 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5752, allocations: 334.8 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.5754, allocations: 75.94 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.5756, allocations: 121.1 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.576, allocations: 202.6 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.576, allocations: 4 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004712/0.5765, allocations: 251 kB / 1.239 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5765, allocations: 8 kB / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5765, allocations: 0 / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5765, allocations: 4 kB / 1.239 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5767, allocations: 47.91 kB / 1.239 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5767, allocations: 4 kB / 1.239 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.5769, allocations: 35.83 kB / 1.239 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.5769, allocations: 7.938 kB / 1.239 GB, free: 9.711 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.0001439/0.5771, allocations: 150.3 kB / 1.239 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.5772, allocations: 31.66 kB / 1.239 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.5776, allocations: 234.3 kB / 1.24 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5777, allocations: 4 kB / 1.24 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5777, allocations: 4 kB / 1.24 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5777, allocations: 3.984 kB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5787, allocations: 0.7029 MB / 1.24 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5787, allocations: 0 / 1.24 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.5789, allocations: 35.98 kB / 1.24 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.5789, allocations: 4 kB / 1.24 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5789, allocations: 15.81 kB / 1.24 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5789, allocations: 3.984 kB / 1.24 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.579, allocations: 4 kB / 1.24 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.5796, allocations: 453.1 kB / 1.241 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5798, allocations: 128.7 kB / 1.241 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.5798, allocations: 7.938 kB / 1.241 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.58, allocations: 11.98 kB / 1.241 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.58, allocations: 11.98 kB / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.58, allocations: 8 kB / 1.241 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002259/0.5803, allocations: 235.1 kB / 1.241 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5803, allocations: 0 / 1.241 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003679/0.5807, allocations: 79.94 kB / 1.241 GB, free: 7.465 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.00123/0.5819, allocations: 1.048 MB / 1.242 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.5823, allocations: 185.8 kB / 1.243 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5823, allocations: 0 / 1.243 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.5825, allocations: 92.39 kB / 1.243 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.5834, allocations: 173.3 kB / 1.243 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.587, allocations: 3.021 MB / 1.246 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.5874, allocations: 0.7834 MB / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.5877, allocations: 66.92 kB / 1.247 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5878, allocations: 91.41 kB / 1.247 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.5878, allocations: 3.938 kB / 1.247 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/1.822, allocations: 8.924 MB / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/16.6, allocations: 12.33 kB / 1.255 GB, free: 188.2 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 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.mat","/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