Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_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.001479/0.001479, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001476/0.001476, allocations: 190.1 kB / 16.25 MB, free: 6.152 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.63/2.63, allocations: 469.8 MB / 0.7421 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 65.05 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2589, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1792/0.4382, allocations: 168.5 MB / 1.228 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.4432, allocations: 3.353 MB / 1.231 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.4435, allocations: 19.88 kB / 1.231 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.4442, allocations: 274.5 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.4461, allocations: 0.9502 MB / 1.233 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4474, allocations: 0.6144 MB / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.449, allocations: 1.521 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.4496, allocations: 469.5 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.4503, allocations: 0.5642 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.4513, allocations: 0.5051 MB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.4514, allocations: 52 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.4526, allocations: 0.8728 MB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.4528, allocations: 231.4 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.4532, allocations: 346.5 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.4545, allocations: 1.188 MB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.4545, allocations: 0 / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4545, allocations: 0 / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4545, allocations: 0 / 1.239 GB, free: 10.43 MB / 0.9981 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.001315/0.4558, allocations: 0.913 MB / 1.24 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.4559, allocations: 8.031 kB / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.456, allocations: 86.52 kB / 1.24 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.4571, allocations: 179 kB / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.4578, allocations: 0.5013 MB / 1.24 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.4578, allocations: 33 kB / 1.241 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.4579, allocations: 40 kB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.4587, allocations: 482.4 kB / 1.241 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4587, allocations: 0 / 1.241 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.4588, allocations: 20 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4588, allocations: 20.94 kB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.4595, allocations: 415.7 kB / 1.241 GB, free: 7.656 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.002412/0.4619, allocations: 1.724 MB / 1.243 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.4624, allocations: 291.9 kB / 1.243 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.4626, allocations: 184.7 kB / 1.244 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.4628, allocations: 97.03 kB / 1.244 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4629, allocations: 42.55 kB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.363e-06/0.4629, allocations: 0 / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001928/0.4648, allocations: 1.063 MB / 1.245 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4649, allocations: 59.34 kB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.4654, allocations: 461.8 kB / 1.245 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.4654, allocations: 33.7 kB / 1.245 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.4656, allocations: 248.2 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4657, allocations: 114.3 kB / 1.246 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4659, allocations: 69.61 kB / 1.246 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.466, allocations: 358.8 kB / 1.246 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4663, allocations: 135.9 kB / 1.246 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.4665, allocations: 193.9 kB / 1.246 GB, free: 2.332 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.001999/0.4685, allocations: 0.867 MB / 1.247 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4686, allocations: 0 / 1.247 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006216/0.4692, allocations: 408.7 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4692, allocations: 8.188 kB / 1.248 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4692, allocations: 4 kB / 1.248 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.4692, allocations: 0 / 1.248 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.4695, allocations: 71.91 kB / 1.248 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4696, allocations: 7.938 kB / 1.248 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.47, allocations: 23.98 kB / 1.248 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.47, allocations: 19.98 kB / 1.248 GB, free: 0.8906 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.0002436/0.4703, allocations: 217.6 kB / 1.248 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.4704, allocations: 51.34 kB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.4705, allocations: 60.75 kB / 1.248 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4705, allocations: 4 kB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4705, allocations: 3.938 kB / 1.248 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005084/0.471, allocations: 404.3 kB / 1.248 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4037/0.8747, allocations: 1.238 MB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.8747, allocations: 5.188 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.8751, allocations: 81.02 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.8751, allocations: 6.25 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.8751, allocations: 12.42 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.8751, allocations: 6.891 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.8752, allocations: 5.75 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.8759, allocations: 0.7013 MB / 1.25 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.876, allocations: 168.9 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.8761, allocations: 20.55 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.8766, allocations: 28.27 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.8766, allocations: 32.33 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.8767, allocations: 25.75 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003129/0.877, allocations: 327.6 kB / 1.251 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.877, allocations: 0 / 1.251 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005194/0.8775, allocations: 141.2 kB / 1.251 GB, free: 188.1 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.001069/0.8786, allocations: 1.307 MB / 1.252 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.8791, allocations: 341.3 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8791, allocations: 1.906 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.8793, allocations: 161.9 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.8809, allocations: 375.4 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.8852, allocations: 4.626 MB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.8855, allocations: 0.8917 MB / 1.259 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004231/0.8859, allocations: 135.1 kB / 1.259 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.8861, allocations: 168.4 kB / 1.259 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.8861, allocations: 0 / 1.259 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.9195, allocations: 15.23 MB / 1.274 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.9196, allocations: 262.8 kB / 1.274 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.048, allocations: 0 / 1.274 GB, free: 181.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches