Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_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.008035/0.008035, allocations: 99.34 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.002107/0.002107, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.11 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2489, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1873/0.4362, allocations: 167.4 MB / 1.251 GB, free: 9.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003725/0.44, allocations: 1.543 MB / 1.252 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.4406, allocations: 11.94 kB / 1.252 GB, free: 8.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006942/0.4413, allocations: 154.9 kB / 1.253 GB, free: 8.273 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.444, allocations: 0.7351 MB / 1.253 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.4466, allocations: 0.6021 MB / 1.254 GB, free: 6.934 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.4482, allocations: 0.709 MB / 1.255 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.4488, allocations: 225.1 kB / 1.255 GB, free: 6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.4499, allocations: 338.8 kB / 1.255 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.4504, allocations: 227 kB / 1.255 GB, free: 5.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.4504, allocations: 20 kB / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.4523, allocations: 0.8728 MB / 1.256 GB, free: 4.551 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.4525, allocations: 115.7 kB / 1.256 GB, free: 4.438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.4528, allocations: 163.1 kB / 1.256 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.4542, allocations: 0.7281 MB / 1.257 GB, free: 3.547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4542, allocations: 0 / 1.257 GB, free: 3.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4542, allocations: 0 / 1.257 GB, free: 3.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.4543, allocations: 0 / 1.257 GB, free: 3.547 MB / 1.014 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.001137/0.4554, allocations: 0.6615 MB / 1.258 GB, free: 2.836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4555, allocations: 11.97 kB / 1.258 GB, free: 2.824 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.299e-05/0.4555, allocations: 58.55 kB / 1.258 GB, free: 2.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.4568, allocations: 151.6 kB / 1.258 GB, free: 2.609 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.4575, allocations: 325.9 kB / 1.258 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4575, allocations: 20.44 kB / 1.258 GB, free: 2.234 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.4575, allocations: 16 kB / 1.258 GB, free: 2.219 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.4581, allocations: 279.4 kB / 1.259 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4581, allocations: 4 kB / 1.259 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.4581, allocations: 12 kB / 1.259 GB, free: 1.906 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.4581, allocations: 4 kB / 1.259 GB, free: 1.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.4586, allocations: 203.8 kB / 1.259 GB, free: 1.703 MB / 1.014 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.001693/0.4603, allocations: 1.213 MB / 1.26 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.4606, allocations: 134.5 kB / 1.26 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.4608, allocations: 96.8 kB / 1.26 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5485/1.009, allocations: 297.8 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.009, allocations: 35.33 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.993e-06/1.009, allocations: 2.469 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0008923/1.01, allocations: 282 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/1.01, allocations: 56.91 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/1.011, allocations: 311.4 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.011, allocations: 29.88 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.011, allocations: 182.7 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/1.011, allocations: 54.36 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/1.011, allocations: 44.61 kB / 1.262 GB, free: 176.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/1.011, allocations: 340.7 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.011, allocations: 65.88 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/1.012, allocations: 128.5 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/1.012, allocations: 188.2 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.012, allocations: 0.9062 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005001/1.012, allocations: 240.5 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.013, allocations: 6.125 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.013, allocations: 2.031 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.013, allocations: 2 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/1.013, allocations: 53.33 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.013, allocations: 3.672 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/1.013, allocations: 31.45 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/1.013, allocations: 10.41 kB / 1.263 GB, free: 175.8 MB / 1.014 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.0001184/1.013, allocations: 156.5 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/1.013, allocations: 29.67 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/1.014, allocations: 221 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.014, allocations: 1.938 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.014, allocations: 0 / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.014, allocations: 2.109 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/1.015, allocations: 0.6875 MB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.015, allocations: 5.656 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/1.015, allocations: 31.97 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.015, allocations: 2.062 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/1.015, allocations: 13.2 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.015, allocations: 2.797 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.015, allocations: 5.656 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/1.016, allocations: 429.7 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.016, allocations: 124.6 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/1.016, allocations: 13.41 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.016, allocations: 7.969 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.016, allocations: 18.67 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/1.016, allocations: 11.8 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002192/1.016, allocations: 224.3 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.016, allocations: 0 / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004038/1.017, allocations: 77.42 kB / 1.265 GB, free: 174.9 MB / 1.014 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.001022/1.018, allocations: 1.034 MB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00045/1.018, allocations: 176.9 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.018, allocations: 6.016 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/1.018, allocations: 84.14 kB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/1.019, allocations: 166.3 kB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/1.023, allocations: 2.906 MB / 1.269 GB, free: 172.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.023, allocations: 0.7791 MB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002375/1.023, allocations: 65.69 kB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.024, allocations: 85.83 kB / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.024, allocations: 0 / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/1.058, allocations: 8.833 MB / 1.278 GB, free: 170.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/9.384, allocations: 4.562 kB / 1.278 GB, free: 170.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches