Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 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.001719/0.001719, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 63.31 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1787/0.5236, allocations: 167.4 MB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.5268, allocations: 1.541 MB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.5273, allocations: 11.94 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.5278, allocations: 150.8 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.5298, allocations: 0.7039 MB / 1.229 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.5315, allocations: 0.5996 MB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009797/0.5325, allocations: 0.705 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.533, allocations: 229.1 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.5339, allocations: 334.8 kB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.5343, allocations: 215.1 kB / 1.231 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.5344, allocations: 27.94 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.5362, allocations: 0.8689 MB / 1.232 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.5364, allocations: 107.7 kB / 1.232 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.5367, allocations: 167.2 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.5382, allocations: 0.7052 MB / 1.233 GB, free: 228 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5382, allocations: 0 / 1.233 GB, free: 228 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5382, allocations: 4 kB / 1.233 GB, free: 224 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.5382, allocations: 0 / 1.233 GB, free: 224 kB / 0.9825 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.00111/0.5393, allocations: 0.6543 MB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5394, allocations: 12.03 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.5395, allocations: 54.55 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5407, allocations: 155.4 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.5412, allocations: 309.7 kB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.5412, allocations: 16.44 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.5412, allocations: 24 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.5418, allocations: 279.4 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5418, allocations: 0 / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.5418, allocations: 8 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.5418, allocations: 8 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.5423, allocations: 191.8 kB / 1.235 GB, free: 14.41 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.001527/0.5438, allocations: 1.221 MB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.5441, allocations: 130.5 kB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.5443, allocations: 96.8 kB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/0.545, allocations: 303.2 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.545, allocations: 30.56 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.545, allocations: 0 / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008157/0.5458, allocations: 286.3 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.5459, allocations: 55.41 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.5462, allocations: 316.5 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5463, allocations: 25.7 kB / 1.237 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.5464, allocations: 184.1 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.5465, allocations: 63.22 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.5466, allocations: 45.61 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5467, allocations: 338.8 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.5469, allocations: 67.95 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.5471, allocations: 130.1 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.5475, allocations: 181 kB / 1.238 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5475, allocations: 3.938 kB / 1.238 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004908/0.548, allocations: 245.1 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.548, allocations: 4 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.548, allocations: 0 / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.548, allocations: 4 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.5483, allocations: 39.97 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.5483, allocations: 4 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.5485, allocations: 27.73 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.5485, allocations: 20.03 kB / 1.239 GB, free: 10.37 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 (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.0001567/0.5487, allocations: 149.8 kB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.5487, allocations: 27.62 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.5492, allocations: 216.3 kB / 1.239 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5492, allocations: 4 kB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5492, allocations: 0 / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5493, allocations: 3.984 kB / 1.239 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5503, allocations: 0.6874 MB / 1.24 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5503, allocations: 4 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.5505, allocations: 31.92 kB / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5505, allocations: 7.938 kB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5505, allocations: 4 kB / 1.24 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5505, allocations: 4 kB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5506, allocations: 7.984 kB / 1.24 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.5512, allocations: 422.5 kB / 1.24 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5514, allocations: 136.7 kB / 1.24 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.5514, allocations: 4 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.5516, allocations: 11.98 kB / 1.24 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.5517, allocations: 11.98 kB / 1.24 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5517, allocations: 4 kB / 1.24 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002306/0.5519, allocations: 230.9 kB / 1.241 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5519, allocations: 0 / 1.241 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004122/0.5523, allocations: 95.83 kB / 1.241 GB, free: 8.188 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 (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.001289/0.5536, allocations: 1.029 MB / 1.242 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.5541, allocations: 179.8 kB / 1.242 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5541, allocations: 0 / 1.242 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.5543, allocations: 83.83 kB / 1.242 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.5552, allocations: 166 kB / 1.242 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.5591, allocations: 2.917 MB / 1.245 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.5596, allocations: 0.7756 MB / 1.246 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002545/0.5598, allocations: 67.06 kB / 1.246 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.56, allocations: 91.41 kB / 1.246 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.56, allocations: 0 / 1.246 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5408/1.101, allocations: 8.745 MB / 1.254 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.928, allocations: 9.062 kB / 1.254 GB, free: 188.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches