Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_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.001564/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001892/0.001892, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.88 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.5681, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1663/0.7345, allocations: 168.6 MB / 1.181 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005066/0.7396, allocations: 3.42 MB / 1.185 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.7401, allocations: 23.81 kB / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008092/0.7409, allocations: 274.6 kB / 1.185 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.7429, allocations: 0.9532 MB / 1.186 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.7444, allocations: 0.6058 MB / 1.186 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.7464, allocations: 2.11 MB / 1.189 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.747, allocations: 409 kB / 1.189 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.7477, allocations: 493.8 kB / 1.189 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009828/0.7487, allocations: 482.1 kB / 1.19 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.7488, allocations: 24 kB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.7504, allocations: 0.9546 MB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.7506, allocations: 211.4 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.7509, allocations: 310.5 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.7521, allocations: 1.153 MB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7522, allocations: 4 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7522, allocations: 0 / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.7522, allocations: 0 / 1.192 GB, free: 14.18 MB / 0.9512 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.001447/0.7536, allocations: 0.9077 MB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7537, allocations: 16.02 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.7538, allocations: 82.53 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.755, allocations: 175.1 kB / 1.194 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.7558, allocations: 0.4974 MB / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.7558, allocations: 33 kB / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.7559, allocations: 51.89 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.7567, allocations: 470.4 kB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.7567, allocations: 0 / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.7567, allocations: 24 kB / 1.195 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.7568, allocations: 17 kB / 1.195 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.7574, allocations: 415.7 kB / 1.195 GB, free: 11.4 MB / 0.9512 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.002438/0.7599, allocations: 1.736 MB / 1.197 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.7605, allocations: 300.5 kB / 1.197 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.7607, allocations: 180.8 kB / 1.197 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.7609, allocations: 101 kB / 1.197 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.7609, allocations: 38.56 kB / 1.197 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.674e-06/0.761, allocations: 0 / 1.197 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001978/0.7629, allocations: 1.058 MB / 1.198 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.763, allocations: 59.34 kB / 1.198 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.7635, allocations: 453.9 kB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.7635, allocations: 37.7 kB / 1.199 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.7637, allocations: 248.1 kB / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.7638, allocations: 118.3 kB / 1.199 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.7639, allocations: 77.59 kB / 1.199 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7641, allocations: 354.8 kB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.7643, allocations: 127.9 kB / 1.2 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.7645, allocations: 205.5 kB / 1.2 GB, free: 6.066 MB / 0.9512 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.001929/0.7665, allocations: 0.8593 MB / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7665, allocations: 0 / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005917/0.7671, allocations: 420.6 kB / 1.201 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7671, allocations: 8 kB / 1.201 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.7671, allocations: 0 / 1.201 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.7671, allocations: 7.984 kB / 1.201 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.7675, allocations: 67.92 kB / 1.201 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7675, allocations: 7.984 kB / 1.201 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.7679, allocations: 28.11 kB / 1.201 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.768, allocations: 16 kB / 1.201 GB, free: 4.617 MB / 0.9512 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.0002319/0.7682, allocations: 207.7 kB / 1.202 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.7683, allocations: 55.44 kB / 1.202 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.7684, allocations: 56.75 kB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7684, allocations: 8 kB / 1.202 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7684, allocations: 3.938 kB / 1.202 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000469/0.7689, allocations: 408.3 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.7706, allocations: 1.241 MB / 1.203 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7706, allocations: 4 kB / 1.203 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.771, allocations: 75.88 kB / 1.203 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.771, allocations: 8 kB / 1.203 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.771, allocations: 8 kB / 1.203 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.7711, allocations: 8 kB / 1.203 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.7711, allocations: 11.88 kB / 1.203 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.7719, allocations: 0.7093 MB / 1.204 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.7721, allocations: 168.4 kB / 1.204 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.7722, allocations: 8 kB / 1.204 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.7726, allocations: 50.88 kB / 1.204 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.7727, allocations: 31.84 kB / 1.204 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.7727, allocations: 16 kB / 1.204 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003421/0.7731, allocations: 331.1 kB / 1.205 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7731, allocations: 4 kB / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005279/0.7736, allocations: 148 kB / 1.205 GB, free: 0.8672 MB / 0.9512 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.001322/0.775, allocations: 1.297 MB / 1.206 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.7755, allocations: 327.3 kB / 1.206 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7755, allocations: 384 / 1.206 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.7758, allocations: 159.8 kB / 1.206 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7774, allocations: 347.3 kB / 1.207 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.783, allocations: 4.633 MB / 1.211 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.7834, allocations: 0.8861 MB / 1.212 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005191/0.7839, allocations: 136.6 kB / 1.212 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.7842, allocations: 167.4 kB / 1.213 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.7842, allocations: 0 / 1.213 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.8146, allocations: 14.77 MB / 1.227 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.8149, allocations: 269.3 kB / 1.227 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.858, allocations: 3.5 kB / 1.227 GB, free: 9.887 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches