Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001348/0.001348, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00174/0.00174, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.912/2.912, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.97 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3206, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.227/0.5478, allocations: 168.5 MB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009919/0.5577, allocations: 3.364 MB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.5589, allocations: 19.88 kB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.5605, allocations: 270.6 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.564, allocations: 0.9454 MB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.5657, allocations: 0.6171 MB / 1.222 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001991/0.5677, allocations: 1.525 MB / 1.224 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007907/0.5685, allocations: 469.5 kB / 1.224 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.5697, allocations: 0.5642 MB / 1.225 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.5711, allocations: 0.5013 MB / 1.225 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.5712, allocations: 52 kB / 1.225 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.5727, allocations: 0.865 MB / 1.226 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.573, allocations: 243.4 kB / 1.226 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.5736, allocations: 338.5 kB / 1.226 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.5753, allocations: 1.176 MB / 1.228 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5753, allocations: 0 / 1.228 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.446e-06/0.5753, allocations: 0 / 1.228 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.5754, allocations: 3.938 kB / 1.228 GB, free: 4.551 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0018/0.5772, allocations: 0.9116 MB / 1.229 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5772, allocations: 8.625 kB / 1.229 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.5773, allocations: 90.45 kB / 1.229 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5788, allocations: 175.1 kB / 1.229 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.5801, allocations: 0.5052 MB / 1.229 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.5802, allocations: 33 kB / 1.229 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5803, allocations: 40 kB / 1.229 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.5815, allocations: 482.3 kB / 1.23 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5815, allocations: 0 / 1.23 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.5816, allocations: 16 kB / 1.23 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.5816, allocations: 17 kB / 1.23 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.5823, allocations: 415.7 kB / 1.23 GB, free: 1.777 MB / 0.9825 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.002598/0.5849, allocations: 1.732 MB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.5854, allocations: 286.6 kB / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.5857, allocations: 182.5 kB / 1.232 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.5859, allocations: 109 kB / 1.232 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.5859, allocations: 34.5 kB / 1.233 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.586, allocations: 7.875 kB / 1.233 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002043/0.588, allocations: 1.061 MB / 1.234 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.5881, allocations: 55.41 kB / 1.234 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.5886, allocations: 457.9 kB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.5886, allocations: 33.7 kB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.5888, allocations: 252.1 kB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.5889, allocations: 118.3 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.589, allocations: 73.59 kB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5891, allocations: 350.8 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.5894, allocations: 131.9 kB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.5896, allocations: 193.9 kB / 1.235 GB, free: 12.45 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.5915, allocations: 0.8597 MB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5915, allocations: 0 / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006259/0.5921, allocations: 412.5 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5922, allocations: 5.562 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5922, allocations: 8.188 kB / 1.236 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5922, allocations: 3.984 kB / 1.236 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.5925, allocations: 71.86 kB / 1.236 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.5926, allocations: 7.984 kB / 1.236 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.593, allocations: 27.98 kB / 1.237 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.593, allocations: 12 kB / 1.237 GB, free: 11.01 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002553/0.5933, allocations: 217.6 kB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/0.5934, allocations: 47.44 kB / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.5935, allocations: 64.75 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5935, allocations: 4 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5936, allocations: 0 / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004886/0.594, allocations: 404.3 kB / 1.237 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.5958, allocations: 1.249 MB / 1.238 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5958, allocations: 8 kB / 1.238 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.5962, allocations: 75.91 kB / 1.239 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.5962, allocations: 4 kB / 1.239 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.5962, allocations: 12 kB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.5963, allocations: 8.438 kB / 1.239 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5963, allocations: 11.94 kB / 1.239 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5976, allocations: 0.711 MB / 1.239 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.598, allocations: 168.5 kB / 1.239 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5981, allocations: 12 kB / 1.239 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.5988, allocations: 31.88 kB / 1.239 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5989, allocations: 31.97 kB / 1.239 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-05/0.599, allocations: 20 kB / 1.24 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006609/0.5997, allocations: 327.1 kB / 1.24 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5997, allocations: 7.875 kB / 1.24 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000962/0.6007, allocations: 140 kB / 1.24 GB, free: 7.262 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001864/0.6026, allocations: 1.304 MB / 1.241 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005866/0.6032, allocations: 347.5 kB / 1.242 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6032, allocations: 0 / 1.242 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6034, allocations: 166.3 kB / 1.242 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6052, allocations: 362.9 kB / 1.242 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.6111, allocations: 4.637 MB / 1.247 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5874/1.198, allocations: 0.8792 MB / 1.247 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007457/1.199, allocations: 134 kB / 1.248 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/1.2, allocations: 170.5 kB / 1.248 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.412e-06/1.2, allocations: 2.531 kB / 1.248 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/2.465, allocations: 15.24 MB / 1.263 GB, free: 193 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/2.465, allocations: 258.7 kB / 1.263 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/4.636, allocations: 1.281 kB / 1.263 GB, free: 192.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches