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.001353/0.001353, 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.001313/0.001313, allocations: 191.4 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.441/1.441, 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.871/2.871, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 70.36 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2703, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1846/0.4549, allocations: 167.4 MB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.4577, allocations: 1.558 MB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.4579, allocations: 11.94 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.4583, allocations: 154.8 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.4599, allocations: 0.7078 MB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.4613, allocations: 0.5911 MB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.4621, allocations: 0.7216 MB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.4625, allocations: 237.1 kB / 1.231 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.4631, allocations: 338.7 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.4634, allocations: 223 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.4634, allocations: 28 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.4649, allocations: 0.8728 MB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.4651, allocations: 111.7 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.4653, allocations: 171.2 kB / 1.233 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4663, allocations: 0.7246 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4663, allocations: 0 / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4663, allocations: 0 / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4663, allocations: 0 / 1.234 GB, free: 15.73 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.0009553/0.4673, allocations: 0.6545 MB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4674, allocations: 8.031 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.4674, allocations: 62.53 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.4686, allocations: 159.4 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.469, allocations: 310.6 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4691, allocations: 24.5 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.4691, allocations: 24 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.4696, allocations: 285.8 kB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4697, allocations: 0 / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4697, allocations: 12 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4697, allocations: 4 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.4702, allocations: 208.9 kB / 1.236 GB, free: 13.88 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.00148/0.4717, allocations: 1.226 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.472, allocations: 146.5 kB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.4722, allocations: 106.5 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.4729, allocations: 299.2 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4729, allocations: 42.88 kB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.4729, allocations: 0 / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008123/0.4737, allocations: 293 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.4738, allocations: 51.41 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.4741, allocations: 324.5 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4742, allocations: 33.7 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4743, allocations: 188.1 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.4744, allocations: 55.11 kB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.4745, allocations: 45.7 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4746, allocations: 342.8 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.4748, allocations: 67.95 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.4751, allocations: 125.1 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.4755, allocations: 206.3 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4755, allocations: 4 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005174/0.476, allocations: 255 kB / 1.239 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4761, allocations: 5.562 kB / 1.239 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4761, allocations: 0 / 1.239 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4761, allocations: 4 kB / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.4763, allocations: 43.97 kB / 1.239 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4763, allocations: 3.938 kB / 1.239 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.4765, allocations: 35.83 kB / 1.239 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.4766, allocations: 8 kB / 1.239 GB, free: 9.754 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.0001588/0.4767, allocations: 150.3 kB / 1.239 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.4768, allocations: 27.72 kB / 1.239 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.4773, allocations: 236.5 kB / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4773, allocations: 0 / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4773, allocations: 4 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4774, allocations: 4 kB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.4785, allocations: 0.7068 MB / 1.24 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4785, allocations: 4 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4787, allocations: 31.97 kB / 1.24 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4787, allocations: 7.938 kB / 1.24 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.4787, allocations: 11.94 kB / 1.24 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.4788, allocations: 11.94 kB / 1.24 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4788, allocations: 96 / 1.24 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.4795, allocations: 458.6 kB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4796, allocations: 124.7 kB / 1.241 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.4797, allocations: 15.92 kB / 1.241 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.4799, allocations: 4 kB / 1.241 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4799, allocations: 15.98 kB / 1.241 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.48, allocations: 8 kB / 1.241 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002392/0.4802, allocations: 231.1 kB / 1.241 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4802, allocations: 0 / 1.241 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003974/0.4806, allocations: 83.92 kB / 1.241 GB, free: 7.5 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.00131/0.4819, allocations: 1.049 MB / 1.242 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.4824, allocations: 187.4 kB / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4824, allocations: 0 / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.4827, allocations: 96.44 kB / 1.243 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.4836, allocations: 161.8 kB / 1.243 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.4875, allocations: 3.029 MB / 1.246 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.4879, allocations: 0.7795 MB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.4882, allocations: 66.91 kB / 1.247 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.4883, allocations: 95.34 kB / 1.247 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.4883, allocations: 4 kB / 1.247 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4401/0.9285, allocations: 8.921 MB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.706, allocations: 2.109 kB / 1.255 GB, free: 188.6 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 400 --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