Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_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.008437/0.008437, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.002185/0.002185, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.888/2.888, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 72.09 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7618/1.052, allocations: 167.4 MB / 1.384 GB, free: 2.699 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002761/1.055, allocations: 1.554 MB / 1.385 GB, free: 1.434 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/1.055, allocations: 11.28 kB / 1.385 GB, free: 1.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004674/1.056, allocations: 147.4 kB / 1.385 GB, free: 1.301 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/1.057, allocations: 0.7041 MB / 1.386 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/1.059, allocations: 0.6004 MB / 1.387 GB, free: 336 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/1.06, allocations: 0.7006 MB / 1.387 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/1.06, allocations: 228.8 kB / 1.387 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/1.061, allocations: 339.3 kB / 1.388 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/1.061, allocations: 220.4 kB / 1.388 GB, free: 15.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/1.061, allocations: 22.97 kB / 1.388 GB, free: 15.46 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/1.063, allocations: 0.8671 MB / 1.389 GB, free: 14.97 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/1.063, allocations: 117.4 kB / 1.389 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/1.063, allocations: 158.2 kB / 1.389 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/1.064, allocations: 0.7195 MB / 1.39 GB, free: 14.37 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.064, allocations: 1.094 kB / 1.39 GB, free: 14.37 MB / 1.092 GB Notification: Performance of FrontEnd: time 5.911e-06/1.064, allocations: 4 kB / 1.39 GB, free: 14.37 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.513e-06/1.064, allocations: 3.938 kB / 1.39 GB, free: 14.36 MB / 1.092 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.0009532/1.065, allocations: 0.6554 MB / 1.39 GB, free: 13.78 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/1.065, allocations: 10.34 kB / 1.39 GB, free: 13.78 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/1.065, allocations: 62 kB / 1.391 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.066, allocations: 156.6 kB / 1.391 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/1.067, allocations: 321 kB / 1.391 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/1.067, allocations: 22.28 kB / 1.391 GB, free: 13.33 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/1.067, allocations: 19.31 kB / 1.391 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/1.067, allocations: 282.4 kB / 1.391 GB, free: 13.13 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.067, allocations: 5.719 kB / 1.391 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.067, allocations: 9.594 kB / 1.391 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/1.067, allocations: 5.156 kB / 1.391 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/1.068, allocations: 198.8 kB / 1.392 GB, free: 13.03 MB / 1.092 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.001521/1.069, allocations: 1.204 MB / 1.393 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/1.07, allocations: 142.3 kB / 1.393 GB, free: 11.83 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.07, allocations: 93.36 kB / 1.393 GB, free: 11.78 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/1.071, allocations: 302.3 kB / 1.393 GB, free: 11.47 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.071, allocations: 43.66 kB / 1.393 GB, free: 11.42 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.071, allocations: 0 / 1.393 GB, free: 11.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.0008367/1.071, allocations: 282.5 kB / 1.394 GB, free: 11.28 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.072, allocations: 52.47 kB / 1.394 GB, free: 11.21 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/1.072, allocations: 320.8 kB / 1.394 GB, free: 11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.072, allocations: 30.67 kB / 1.394 GB, free: 10.97 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/1.072, allocations: 179.9 kB / 1.394 GB, free: 10.8 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/1.072, allocations: 59.31 kB / 1.394 GB, free: 10.75 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/1.072, allocations: 42.39 kB / 1.394 GB, free: 10.72 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.072, allocations: 337.7 kB / 1.394 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.073, allocations: 66.98 kB / 1.395 GB, free: 10.36 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/1.073, allocations: 130.3 kB / 1.395 GB, free: 10.26 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/1.073, allocations: 184.7 kB / 1.395 GB, free: 10.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.073, allocations: 0 / 1.395 GB, free: 10.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004861/1.074, allocations: 238.8 kB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.074, allocations: 5.781 kB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.074, allocations: 5.219 kB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.074, allocations: 2.281 kB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/1.074, allocations: 44.09 kB / 1.395 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.074, allocations: 2.031 kB / 1.395 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.074, allocations: 37.3 kB / 1.395 GB, free: 9.973 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/1.074, allocations: 6.875 kB / 1.395 GB, free: 9.973 MB / 1.092 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.0001542/1.074, allocations: 155.5 kB / 1.395 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/1.074, allocations: 30.19 kB / 1.395 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/1.075, allocations: 218.2 kB / 1.396 GB, free: 9.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.075, allocations: 2.281 kB / 1.396 GB, free: 9.68 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.075, allocations: 0 / 1.396 GB, free: 9.68 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.075, allocations: 9.141 kB / 1.396 GB, free: 9.672 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/1.076, allocations: 0.689 MB / 1.396 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.076, allocations: 1.188 kB / 1.396 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/1.076, allocations: 27.89 kB / 1.396 GB, free: 9.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.076, allocations: 7 kB / 1.396 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.076, allocations: 3.344 kB / 1.396 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.076, allocations: 7.312 kB / 1.396 GB, free: 9.074 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.076, allocations: 6.438 kB / 1.396 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/1.077, allocations: 433 kB / 1.397 GB, free: 8.746 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/1.077, allocations: 128 kB / 1.397 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/1.077, allocations: 11.34 kB / 1.397 GB, free: 8.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.077, allocations: 5.344 kB / 1.397 GB, free: 8.609 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/1.077, allocations: 22.09 kB / 1.397 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.077, allocations: 5.469 kB / 1.397 GB, free: 8.594 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002388/1.078, allocations: 223 kB / 1.397 GB, free: 8.449 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.078, allocations: 0 / 1.397 GB, free: 8.449 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004107/1.078, allocations: 86.16 kB / 1.397 GB, free: 8.43 MB / 1.092 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.001308/1.079, allocations: 1.04 MB / 1.398 GB, free: 7.531 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004356/1.08, allocations: 175.8 kB / 1.398 GB, free: 7.457 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.08, allocations: 192 / 1.398 GB, free: 7.457 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/1.08, allocations: 88.62 kB / 1.398 GB, free: 7.418 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.081, allocations: 166 kB / 1.399 GB, free: 7.344 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/1.085, allocations: 2.917 MB / 1.401 GB, free: 5.133 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/1.086, allocations: 0.78 MB / 1.402 GB, free: 4.391 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000235/1.086, allocations: 66.08 kB / 1.402 GB, free: 4.363 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.086, allocations: 89.25 kB / 1.402 GB, free: 4.293 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/1.086, allocations: 0 / 1.402 GB, free: 4.293 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/1.121, allocations: 8.839 MB / 1.411 GB, free: 15.91 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/9.293, allocations: 4.594 kB / 1.411 GB, free: 15.91 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches