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.001429/0.001429, allocations: 108 kB / 15.6 MB, free: 132 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.00137/0.00137, allocations: 190.7 kB / 16.53 MB, free: 6.391 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.194/1.194, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.464/2.464, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 70.28 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2337, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1666/0.4004, allocations: 170.8 MB / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004857/0.4053, allocations: 3.374 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.4058, allocations: 23.81 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.4066, allocations: 314.1 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.4085, allocations: 1.015 MB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.4099, allocations: 0.6614 MB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.4116, allocations: 1.525 MB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.4122, allocations: 481.5 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.413, allocations: 0.5603 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009544/0.414, allocations: 469.7 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.4141, allocations: 56 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.4154, allocations: 0.8302 MB / 1.24 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.4157, allocations: 235.4 kB / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.4161, allocations: 342.5 kB / 1.24 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.4174, allocations: 1.118 MB / 1.242 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4174, allocations: 4 kB / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4174, allocations: 0 / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.4175, allocations: 0 / 1.242 GB, free: 7.766 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.001286/0.4187, allocations: 0.9232 MB / 1.242 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.4188, allocations: 12.03 kB / 1.243 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.394e-05/0.4189, allocations: 78.53 kB / 1.243 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.4199, allocations: 183 kB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.4206, allocations: 0.5013 MB / 1.243 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.4206, allocations: 33 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.4207, allocations: 44 kB / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.4214, allocations: 474.4 kB / 1.244 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4215, allocations: 0 / 1.244 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.4215, allocations: 20 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.4215, allocations: 16.94 kB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.4222, allocations: 411.7 kB / 1.244 GB, free: 4.988 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.002352/0.4245, allocations: 1.743 MB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.425, allocations: 290.6 kB / 1.246 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.4252, allocations: 185.3 kB / 1.246 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.4254, allocations: 105 kB / 1.246 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4255, allocations: 34.56 kB / 1.246 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.836e-06/0.4255, allocations: 4 kB / 1.246 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00177/0.4272, allocations: 1.066 MB / 1.248 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.4273, allocations: 55.41 kB / 1.248 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.4277, allocations: 453.8 kB / 1.248 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.4278, allocations: 33.7 kB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.428, allocations: 256.1 kB / 1.248 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.4281, allocations: 110.3 kB / 1.248 GB, free: 432 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.4282, allocations: 73.59 kB / 1.248 GB, free: 352 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.3428/0.771, allocations: 356.3 kB / 1.249 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.7712, allocations: 123 kB / 1.249 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.7715, allocations: 198.7 kB / 1.249 GB, free: 188.6 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.001739/0.7732, allocations: 0.8606 MB / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7732, allocations: 0 / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005822/0.7738, allocations: 422.2 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7739, allocations: 6.484 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7739, allocations: 1.688 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7739, allocations: 2.781 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.7742, allocations: 67.12 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7742, allocations: 3.859 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.7746, allocations: 17.22 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.7746, allocations: 10.38 kB / 1.25 GB, free: 188.4 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.0002183/0.7748, allocations: 215.1 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.7749, allocations: 52.77 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.775, allocations: 58.09 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.775, allocations: 4.609 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.775, allocations: 3.938 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004034/0.7754, allocations: 403.6 kB / 1.251 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.7769, allocations: 1.252 MB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7769, allocations: 4.25 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.7773, allocations: 70.7 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7773, allocations: 5.531 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.7773, allocations: 10.62 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.7773, allocations: 16.28 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7773, allocations: 8.625 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.778, allocations: 0.6949 MB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.7781, allocations: 170.2 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.7782, allocations: 17.39 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.7786, allocations: 28.12 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.7786, allocations: 27.7 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.7787, allocations: 25.97 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002692/0.7789, allocations: 331.8 kB / 1.254 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.779, allocations: 0.9375 kB / 1.254 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004757/0.7794, allocations: 140.1 kB / 1.254 GB, free: 187.2 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.001006/0.7804, allocations: 1.294 MB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.7809, allocations: 361.3 kB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.7809, allocations: 3 kB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.7811, allocations: 164.6 kB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.7825, allocations: 377.8 kB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.786, allocations: 4.467 MB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.7862, allocations: 0.8858 MB / 1.261 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003654/0.7866, allocations: 136.9 kB / 1.261 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.7868, allocations: 169.2 kB / 1.262 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7868, allocations: 0 / 1.262 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.464/8.251, allocations: 15.37 MB / 1.277 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/21.73, allocations: 5 kB / 1.277 GB, free: 180.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