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.001578/0.001578, 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.001747/0.001747, allocations: 193.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.404/1.404, 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.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.53 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3579, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1867/0.5447, allocations: 167.4 MB / 1.216 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.5476, allocations: 1.558 MB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.5479, allocations: 15.88 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.5484, allocations: 150.9 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.5502, allocations: 0.7 MB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.5517, allocations: 0.6062 MB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.5525, allocations: 0.7254 MB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.5529, allocations: 229.1 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.5535, allocations: 342.7 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.5538, allocations: 231 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.5539, allocations: 20 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.5553, allocations: 0.8728 MB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5554, allocations: 107.7 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.5556, allocations: 167.2 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009817/0.5566, allocations: 0.7246 MB / 1.223 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5566, allocations: 0 / 1.223 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5566, allocations: 0 / 1.223 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5566, allocations: 0 / 1.223 GB, free: 9.777 MB / 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.0009831/0.5576, allocations: 0.6583 MB / 1.223 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5577, allocations: 12.62 kB / 1.223 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.064e-05/0.5578, allocations: 62.53 kB / 1.223 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5589, allocations: 159.3 kB / 1.224 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.5593, allocations: 306.7 kB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.5593, allocations: 24.44 kB / 1.224 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.5594, allocations: 28 kB / 1.224 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.5599, allocations: 281.9 kB / 1.224 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5599, allocations: 0 / 1.224 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.5599, allocations: 11.98 kB / 1.224 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5599, allocations: 8 kB / 1.224 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.5604, allocations: 204.9 kB / 1.224 GB, free: 7.926 MB / 0.9825 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.001428/0.5618, allocations: 1.223 MB / 1.226 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.5621, allocations: 150.5 kB / 1.226 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.5623, allocations: 96.8 kB / 1.226 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.563, allocations: 311.2 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.563, allocations: 38.5 kB / 1.226 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.563, allocations: 0 / 1.226 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.000786/0.5638, allocations: 291.1 kB / 1.226 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.5638, allocations: 55.41 kB / 1.226 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.5642, allocations: 328.5 kB / 1.227 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5642, allocations: 29.7 kB / 1.227 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5643, allocations: 184.1 kB / 1.227 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.5644, allocations: 59.14 kB / 1.227 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.5645, allocations: 45.61 kB / 1.227 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5647, allocations: 342.8 kB / 1.227 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.5649, allocations: 67.95 kB / 1.227 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.5651, allocations: 133 kB / 1.228 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.5655, allocations: 203 kB / 1.228 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5655, allocations: 0 / 1.228 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004643/0.5659, allocations: 255.1 kB / 1.228 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.566, allocations: 4 kB / 1.228 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.566, allocations: 4 kB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.566, allocations: 0 / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.5662, allocations: 48 kB / 1.228 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5662, allocations: 8 kB / 1.228 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.5664, allocations: 23.83 kB / 1.228 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.5664, allocations: 8 kB / 1.228 GB, free: 3.805 MB / 0.9825 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.0001518/0.5666, allocations: 159.2 kB / 1.228 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.5667, allocations: 27.62 kB / 1.228 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.5671, allocations: 238.3 kB / 1.229 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5672, allocations: 4 kB / 1.229 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5672, allocations: 0 / 1.229 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.5672, allocations: 0 / 1.229 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.5682, allocations: 0.7068 MB / 1.229 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5682, allocations: 0 / 1.229 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.5684, allocations: 39.91 kB / 1.229 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5684, allocations: 4 kB / 1.229 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5684, allocations: 7.875 kB / 1.229 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.5684, allocations: 8 kB / 1.229 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5684, allocations: 4.219 kB / 1.229 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.5691, allocations: 454.8 kB / 1.23 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5692, allocations: 120.7 kB / 1.23 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.5693, allocations: 11.92 kB / 1.23 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.5695, allocations: 12 kB / 1.23 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.5695, allocations: 15.92 kB / 1.23 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5696, allocations: 12.06 kB / 1.23 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00022/0.5698, allocations: 235.1 kB / 1.23 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5698, allocations: 3.938 kB / 1.23 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003866/0.5702, allocations: 83.94 kB / 1.23 GB, free: 1.543 MB / 0.9825 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.001205/0.5714, allocations: 1.037 MB / 1.231 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.5719, allocations: 183.7 kB / 1.231 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5719, allocations: 0 / 1.231 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.5721, allocations: 100.4 kB / 1.231 GB, free: 188 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.5729, allocations: 161.7 kB / 1.232 GB, free: 32 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.5766, allocations: 3.029 MB / 1.235 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.5771, allocations: 0.7795 MB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000224/0.5773, allocations: 62.92 kB / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5774, allocations: 91.41 kB / 1.235 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.5774, allocations: 3.938 kB / 1.235 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.6064, allocations: 8.941 MB / 1.244 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.172, allocations: 4.656 kB / 1.244 GB, free: 3.105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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