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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000786/0.0007861, allocations: 95.92 kB / 15.36 MB, free: 0.7305 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.0009596/0.0009597, allocations: 174.6 kB / 16.27 MB, free: 6.66 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004081, allocations: 17.94 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3678, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1887/0.5566, allocations: 166.3 MB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005915/0.5626, allocations: 3.391 MB / 1.225 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008412/0.5635, allocations: 19.88 kB / 1.225 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.5645, allocations: 266.6 kB / 1.225 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.5674, allocations: 0.957 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.5691, allocations: 0.6105 MB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.5718, allocations: 2.11 MB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.5725, allocations: 384.7 kB / 1.229 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.5736, allocations: 481.8 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.5749, allocations: 471.7 kB / 1.23 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.575, allocations: 20 kB / 1.23 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.5767, allocations: 0.9468 MB / 1.231 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.5771, allocations: 207.4 kB / 1.231 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.5776, allocations: 320.2 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.5794, allocations: 1.145 MB / 1.232 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5794, allocations: 3.938 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5794, allocations: 4 kB / 1.232 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.5795, allocations: 0 / 1.232 GB, free: 2.574 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.001437/0.5809, allocations: 0.7947 MB / 1.233 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.581, allocations: 8.031 kB / 1.233 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.5811, allocations: 86.52 kB / 1.233 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.5824, allocations: 171.2 kB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.5832, allocations: 0.5013 MB / 1.234 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.5832, allocations: 33 kB / 1.234 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.5833, allocations: 40 kB / 1.234 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.5841, allocations: 482.4 kB / 1.234 GB, free: 372 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.5842, allocations: 0 / 1.234 GB, free: 372 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.5842, allocations: 16 kB / 1.234 GB, free: 356 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.5843, allocations: 16.94 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/0.5849, allocations: 415.8 kB / 1.235 GB, free: 15.92 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.002606/0.5876, allocations: 1.739 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.5881, allocations: 294.6 kB / 1.237 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.5883, allocations: 190.2 kB / 1.237 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.5885, allocations: 93.09 kB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.5886, allocations: 38.56 kB / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.245e-06/0.5886, allocations: 0 / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002196/0.5908, allocations: 1.06 MB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.5908, allocations: 59.34 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.5914, allocations: 453.9 kB / 1.239 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.5914, allocations: 37.7 kB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.5916, allocations: 252 kB / 1.239 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.5918, allocations: 118.2 kB / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.5919, allocations: 37.7 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5921, allocations: 354.8 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.5923, allocations: 131.9 kB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.5926, allocations: 189.9 kB / 1.24 GB, free: 10.63 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.001906/0.5945, allocations: 0.8648 MB / 1.24 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5945, allocations: 3.938 kB / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006083/0.5951, allocations: 408.9 kB / 1.241 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5951, allocations: 14.06 kB / 1.241 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5952, allocations: 0 / 1.241 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5952, allocations: 4 kB / 1.241 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.5955, allocations: 71.91 kB / 1.241 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5955, allocations: 7.938 kB / 1.241 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.596, allocations: 27.92 kB / 1.241 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.596, allocations: 16 kB / 1.241 GB, free: 9.18 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 sytem: 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.0002648/0.5963, allocations: 213.6 kB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5964, allocations: 51.44 kB / 1.241 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.5965, allocations: 56.77 kB / 1.241 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5965, allocations: 4 kB / 1.241 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5965, allocations: 0 / 1.241 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004642/0.597, allocations: 408.6 kB / 1.242 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.5989, allocations: 1.245 MB / 1.243 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5989, allocations: 4 kB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.5992, allocations: 71.91 kB / 1.243 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.5993, allocations: 8 kB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.5993, allocations: 12.48 kB / 1.243 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.5993, allocations: 15.94 kB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.5993, allocations: 8 kB / 1.243 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.6002, allocations: 0.7151 MB / 1.244 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.6005, allocations: 168.5 kB / 1.244 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.6005, allocations: 8 kB / 1.244 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.601, allocations: 27.89 kB / 1.244 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.6011, allocations: 39.91 kB / 1.244 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.6011, allocations: 23.92 kB / 1.244 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003504/0.6015, allocations: 331.1 kB / 1.244 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6015, allocations: 0 / 1.244 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005543/0.602, allocations: 140 kB / 1.244 GB, free: 5.43 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.001393/0.6034, allocations: 1.306 MB / 1.246 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.604, allocations: 315.9 kB / 1.246 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.604, allocations: 3.938 kB / 1.246 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.6043, allocations: 166.6 kB / 1.246 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.6062, allocations: 345.8 kB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5009/1.107, allocations: 4.692 MB / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/1.108, allocations: 0.8854 MB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005866/1.108, allocations: 134.2 kB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/1.108, allocations: 165.5 kB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.108, allocations: 0.5625 kB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/1.137, allocations: 14.64 MB / 1.267 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.137, allocations: 261.5 kB / 1.267 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/3.11, allocations: 0.75 kB / 1.267 GB, free: 188.3 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