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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008846/0.0008847, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005916/0.005916, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.655/2.655, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 10.44 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1769/0.4791, allocations: 163 MB / 1.218 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002978/0.4821, allocations: 1.558 MB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.4826, allocations: 11.94 kB / 1.22 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.4831, allocations: 115.2 kB / 1.22 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.485, allocations: 0.6652 MB / 1.22 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.4866, allocations: 0.5487 MB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.4877, allocations: 0.9906 MB / 1.222 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.4882, allocations: 197.2 kB / 1.222 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.4889, allocations: 314.7 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.4893, allocations: 247 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.4894, allocations: 12 kB / 1.223 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.4911, allocations: 1.013 MB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4912, allocations: 95.7 kB / 1.224 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.4914, allocations: 184.8 kB / 1.224 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.4927, allocations: 0.7673 MB / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4927, allocations: 0 / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4927, allocations: 0 / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.4927, allocations: 4 kB / 1.225 GB, free: 10.53 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.0009385/0.4937, allocations: 0.6078 MB / 1.225 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4937, allocations: 15.97 kB / 1.225 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.4938, allocations: 62.48 kB / 1.225 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.495, allocations: 151.4 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.4954, allocations: 326.5 kB / 1.226 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4954, allocations: 20.5 kB / 1.226 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.4955, allocations: 20 kB / 1.226 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.496, allocations: 293.8 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.496, allocations: 0 / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.4961, allocations: 4 kB / 1.226 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4961, allocations: 8 kB / 1.226 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.4965, allocations: 216.9 kB / 1.226 GB, free: 8.707 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.001345/0.4979, allocations: 1.238 MB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.4982, allocations: 150.5 kB / 1.228 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4984, allocations: 96.8 kB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/0.499, allocations: 319.2 kB / 1.228 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.499, allocations: 34.56 kB / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.499, allocations: 0 / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0007721/0.4998, allocations: 314.9 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4998, allocations: 55.41 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.5002, allocations: 328.5 kB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.5002, allocations: 25.7 kB / 1.229 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5003, allocations: 180.2 kB / 1.229 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.5004, allocations: 59.11 kB / 1.229 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.5004, allocations: 29.7 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5005, allocations: 334.8 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.5007, allocations: 79.94 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.5009, allocations: 129.1 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.5013, allocations: 212.9 kB / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5013, allocations: 0 / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004715/0.5018, allocations: 263.5 kB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5018, allocations: 4 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5018, allocations: 0 / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5018, allocations: 4 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.502, allocations: 51.91 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5021, allocations: 8.094 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.5023, allocations: 39.67 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.5023, allocations: 8 kB / 1.23 GB, free: 4.523 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.0001324/0.5025, allocations: 149.7 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.5025, allocations: 31.62 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.503, allocations: 246.8 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.503, allocations: 4 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.503, allocations: 0 / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5031, allocations: 0 / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5041, allocations: 0.7224 MB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5041, allocations: 4.141 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.5043, allocations: 47.84 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5043, allocations: 7.984 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.5043, allocations: 7.938 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.5043, allocations: 4 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5043, allocations: 4 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.505, allocations: 465.1 kB / 1.232 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5051, allocations: 128.7 kB / 1.232 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.5051, allocations: 7.938 kB / 1.232 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5053, allocations: 24.05 kB / 1.232 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.5054, allocations: 7.984 kB / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.5054, allocations: 12 kB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002018/0.5056, allocations: 231 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.453e-06/0.5056, allocations: 0 / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003811/0.506, allocations: 91.78 kB / 1.232 GB, free: 2.211 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.001131/0.5072, allocations: 1.051 MB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.5076, allocations: 185.3 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5076, allocations: 4 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.5078, allocations: 99.81 kB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.5088, allocations: 163.3 kB / 1.234 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.5123, allocations: 3.175 MB / 1.237 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5126, allocations: 0.7797 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.5129, allocations: 70.91 kB / 1.237 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.513, allocations: 95.41 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.513, allocations: 0 / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.5346, allocations: 8.408 MB / 1.246 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.5348, allocations: 238.9 kB / 1.246 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.411, allocations: 0 / 1.246 GB, free: 3.922 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