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.005216/0.005216, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00116/0.00116, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.415/2.415, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.28 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2505, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1721/0.4227, allocations: 167.4 MB / 1.251 GB, free: 9.965 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.4255, allocations: 1.558 MB / 1.252 GB, free: 8.406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.4259, allocations: 7.938 kB / 1.252 GB, free: 8.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.4265, allocations: 158.8 kB / 1.253 GB, free: 8.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.4282, allocations: 0.6961 MB / 1.253 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.4299, allocations: 0.5922 MB / 1.254 GB, free: 6.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.4308, allocations: 0.7051 MB / 1.255 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.4312, allocations: 233.7 kB / 1.255 GB, free: 6.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.4319, allocations: 338.7 kB / 1.255 GB, free: 5.684 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.4323, allocations: 215.1 kB / 1.255 GB, free: 5.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.4323, allocations: 23.94 kB / 1.255 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.4339, allocations: 0.8728 MB / 1.256 GB, free: 4.574 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.4341, allocations: 107.7 kB / 1.256 GB, free: 4.469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.4343, allocations: 163.2 kB / 1.256 GB, free: 4.309 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4355, allocations: 0.7249 MB / 1.257 GB, free: 3.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4355, allocations: 0 / 1.257 GB, free: 3.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4355, allocations: 3.938 kB / 1.257 GB, free: 3.578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.4356, allocations: 0 / 1.257 GB, free: 3.578 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.001167/0.4367, allocations: 0.6505 MB / 1.258 GB, free: 2.879 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4368, allocations: 12.02 kB / 1.258 GB, free: 2.867 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/0.4369, allocations: 54.55 kB / 1.258 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.4381, allocations: 155.4 kB / 1.258 GB, free: 2.652 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.4387, allocations: 325.7 kB / 1.258 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4388, allocations: 12.44 kB / 1.258 GB, free: 2.285 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.4388, allocations: 24 kB / 1.258 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.4394, allocations: 287.3 kB / 1.259 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4394, allocations: 0 / 1.259 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.4394, allocations: 8 kB / 1.259 GB, free: 1.949 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4394, allocations: 4 kB / 1.259 GB, free: 1.945 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.4398, allocations: 199.8 kB / 1.259 GB, free: 1.75 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.001536/0.4414, allocations: 1.209 MB / 1.26 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.4417, allocations: 134.5 kB / 1.26 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.4419, allocations: 92.8 kB / 1.26 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5887/1.031, allocations: 299.5 kB / 1.26 GB, free: 176.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/1.031, allocations: 42.86 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/1.031, allocations: 0.9375 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0008865/1.032, allocations: 277 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/1.032, allocations: 53.91 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/1.032, allocations: 312.6 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.032, allocations: 29.89 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.032, allocations: 180.2 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/1.032, allocations: 57.19 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/1.032, allocations: 44.95 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/1.032, allocations: 340.2 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.032, allocations: 64.03 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/1.033, allocations: 125.8 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/1.033, allocations: 184.7 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.033, allocations: 4.156 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005583/1.034, allocations: 237.4 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.034, allocations: 5.453 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.034, allocations: 2 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.034, allocations: 2 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.034, allocations: 42.62 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.034, allocations: 2.609 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/1.034, allocations: 35.59 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/1.034, allocations: 19.8 kB / 1.262 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.0001508/1.034, allocations: 147.1 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/1.035, allocations: 32.75 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/1.035, allocations: 216.8 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.035, allocations: 1.875 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.035, allocations: 4.766 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.035, allocations: 1.125 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.036, allocations: 0.6886 MB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.036, allocations: 8.25 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.037, allocations: 36.88 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.037, allocations: 2.812 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/1.037, allocations: 3.766 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/1.037, allocations: 3.141 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.037, allocations: 5.469 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/1.037, allocations: 428.1 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.038, allocations: 128.6 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/1.038, allocations: 7.031 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.038, allocations: 9.047 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/1.038, allocations: 22.41 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.038, allocations: 7.125 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002393/1.038, allocations: 227.2 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.038, allocations: 0 / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000423/1.039, allocations: 77.17 kB / 1.264 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.001071/1.04, allocations: 1.031 MB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004721/1.04, allocations: 176.2 kB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.04, allocations: 0.8438 kB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/1.04, allocations: 92.41 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.0009043/1.041, allocations: 161.9 kB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/1.045, allocations: 2.904 MB / 1.269 GB, free: 172.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/1.045, allocations: 0.7806 MB / 1.269 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002484/1.045, allocations: 66.25 kB / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.046, allocations: 85 kB / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/1.046, allocations: 0.9062 kB / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/1.078, allocations: 8.838 MB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/9.05, allocations: 10.36 kB / 1.278 GB, free: 170.4 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