Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.007782/0.007782, allocations: 101 kB / 15.73 MB, free: 6.059 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.002048/0.002048, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.647/2.647, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 67.84 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8609, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2088/1.07, allocations: 167.4 MB / 1.33 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003033/1.073, allocations: 1.549 MB / 1.331 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/1.073, allocations: 7.938 kB / 1.331 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005234/1.074, allocations: 158.8 kB / 1.331 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/1.076, allocations: 0.7039 MB / 1.332 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/1.078, allocations: 0.5903 MB / 1.333 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001033/1.079, allocations: 0.705 MB / 1.333 GB, free: 8.051 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/1.079, allocations: 232.9 kB / 1.333 GB, free: 7.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/1.08, allocations: 334.8 kB / 1.334 GB, free: 7.492 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/1.08, allocations: 219.1 kB / 1.334 GB, free: 7.277 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/1.08, allocations: 20 kB / 1.334 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/1.082, allocations: 0.8806 MB / 1.335 GB, free: 6.375 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/1.082, allocations: 99.7 kB / 1.335 GB, free: 6.277 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/1.082, allocations: 171.1 kB / 1.335 GB, free: 6.109 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/1.084, allocations: 0.7164 MB / 1.336 GB, free: 5.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.084, allocations: 0 / 1.336 GB, free: 5.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.084, allocations: 0 / 1.336 GB, free: 5.395 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.084, allocations: 0 / 1.336 GB, free: 5.395 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001128/1.085, allocations: 0.6653 MB / 1.336 GB, free: 4.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.085, allocations: 16.86 kB / 1.336 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/1.085, allocations: 54.55 kB / 1.337 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/1.086, allocations: 163.6 kB / 1.337 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/1.087, allocations: 325.9 kB / 1.337 GB, free: 4.082 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/1.087, allocations: 12.44 kB / 1.337 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/1.087, allocations: 24 kB / 1.337 GB, free: 4.047 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/1.087, allocations: 283.3 kB / 1.337 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.087, allocations: 0 / 1.337 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.087, allocations: 12 kB / 1.337 GB, free: 3.742 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.087, allocations: 4 kB / 1.337 GB, free: 3.738 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/1.088, allocations: 199.8 kB / 1.338 GB, free: 3.543 MB / 1.061 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.001629/1.09, allocations: 1.209 MB / 1.339 GB, free: 2.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/1.09, allocations: 134.5 kB / 1.339 GB, free: 2.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/1.09, allocations: 92.8 kB / 1.339 GB, free: 1.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/1.091, allocations: 303.2 kB / 1.339 GB, free: 1.645 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.091, allocations: 34.5 kB / 1.339 GB, free: 1.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.826e-06/1.091, allocations: 4 kB / 1.339 GB, free: 1.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0008271/1.092, allocations: 283.7 kB / 1.34 GB, free: 1.316 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.092, allocations: 51.41 kB / 1.34 GB, free: 1.254 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/1.092, allocations: 312.5 kB / 1.34 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/1.092, allocations: 33.7 kB / 1.34 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/1.092, allocations: 192.3 kB / 1.34 GB, free: 0.707 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/1.092, allocations: 51.48 kB / 1.34 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/1.092, allocations: 49.7 kB / 1.34 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.093, allocations: 334.8 kB / 1.34 GB, free: 272 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.093, allocations: 67.94 kB / 1.341 GB, free: 204 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/1.093, allocations: 130.1 kB / 1.341 GB, free: 56 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/1.093, allocations: 190.8 kB / 1.341 GB, free: 15.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.093, allocations: 0 / 1.341 GB, free: 15.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004809/1.094, allocations: 238 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.094, allocations: 11.98 kB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.094, allocations: 0 / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.094, allocations: 4 kB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.094, allocations: 43.92 kB / 1.341 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.094, allocations: 0 / 1.341 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/1.094, allocations: 31.83 kB / 1.341 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/1.094, allocations: 12.09 kB / 1.341 GB, free: 15.51 MB / 1.076 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 (22): * Single equations (assignments): 22 * 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.000165/1.095, allocations: 153.7 kB / 1.341 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/1.095, allocations: 31.81 kB / 1.341 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/1.095, allocations: 220.3 kB / 1.342 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/1.095, allocations: 4 kB / 1.342 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.095, allocations: 0 / 1.342 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.095, allocations: 3.938 kB / 1.342 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.096, allocations: 0.6875 MB / 1.342 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.096, allocations: 4 kB / 1.342 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/1.097, allocations: 35.92 kB / 1.342 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.097, allocations: 7.875 kB / 1.342 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/1.097, allocations: 7.984 kB / 1.342 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.097, allocations: 4 kB / 1.342 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.097, allocations: 3.938 kB / 1.342 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/1.097, allocations: 425.2 kB / 1.343 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/1.098, allocations: 132.9 kB / 1.343 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/1.098, allocations: 4 kB / 1.343 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.098, allocations: 11.98 kB / 1.343 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/1.098, allocations: 19.92 kB / 1.343 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/1.098, allocations: 4 kB / 1.343 GB, free: 13.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002449/1.098, allocations: 227 kB / 1.343 GB, free: 13.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.343 GB, free: 13.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003967/1.098, allocations: 79.94 kB / 1.343 GB, free: 13.32 MB / 1.076 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 (15): * Single equations (assignments): 15 * 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.001401/1.1, allocations: 1.044 MB / 1.344 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004646/1.1, allocations: 175.8 kB / 1.344 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.1, allocations: 0 / 1.344 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/1.101, allocations: 91.81 kB / 1.344 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/1.101, allocations: 163.5 kB / 1.345 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/1.106, allocations: 2.915 MB / 1.347 GB, free: 8.762 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/1.106, allocations: 0.7756 MB / 1.348 GB, free: 7.961 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002514/1.106, allocations: 71.06 kB / 1.348 GB, free: 7.895 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.106, allocations: 83.42 kB / 1.348 GB, free: 7.812 MB / 1.076 GB Notification: Performance of SimCode: time 2.304e-06/1.106, allocations: 4 kB / 1.348 GB, free: 7.809 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/1.145, allocations: 8.839 MB / 1.357 GB, free: 15.15 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.625, allocations: 0.5938 kB / 1.357 GB, free: 15.15 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches