Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.0008441/0.0008441, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005543/0.005544, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.493/2.493, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 8 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6146, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1955/0.8101, allocations: 204.9 MB / 1.223 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.824, allocations: 9.854 MB / 1.233 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.8257, allocations: 51.62 kB / 1.233 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.8276, allocations: 0.6645 MB / 1.234 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.8339, allocations: 2.651 MB / 1.236 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.837, allocations: 1.253 MB / 1.237 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.6177/1.455, allocations: 5.63 MB / 1.243 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/1.457, allocations: 1.083 MB / 1.244 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/1.459, allocations: 1.126 MB / 1.245 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/1.462, allocations: 1.233 MB / 1.246 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/1.462, allocations: 56.22 kB / 1.246 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/1.468, allocations: 2.739 MB / 1.249 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007608/1.469, allocations: 0.5167 MB / 1.249 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/1.47, allocations: 0.7731 MB / 1.25 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005624/1.475, allocations: 3.036 MB / 1.253 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.475, allocations: 1 kB / 1.253 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/1.475, allocations: 0 / 1.253 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.197e-05/1.475, allocations: 0 / 1.253 GB, free: 4.633 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003443/1.479, allocations: 1.594 MB / 1.255 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.479, allocations: 9.781 kB / 1.255 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/1.479, allocations: 168 kB / 1.255 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/1.482, allocations: 490.2 kB / 1.255 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/1.484, allocations: 1.068 MB / 1.256 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/1.484, allocations: 83.33 kB / 1.256 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/1.484, allocations: 109.3 kB / 1.257 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.487, allocations: 1.154 MB / 1.258 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/1.487, allocations: 2.047 kB / 1.258 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.487, allocations: 45.53 kB / 1.258 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/1.487, allocations: 42.12 kB / 1.258 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/1.489, allocations: 1.079 MB / 1.259 GB, free: 19.16 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.005906/1.495, allocations: 4.223 MB / 1.263 GB, free: 17.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.496, allocations: 0.783 MB / 1.264 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/1.496, allocations: 482.5 kB / 1.264 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/1.497, allocations: 294.2 kB / 1.264 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.497, allocations: 47.66 kB / 1.265 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.595e-06/1.497, allocations: 4.812 kB / 1.265 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005478/1.502, allocations: 2.853 MB / 1.267 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/1.502, allocations: 64.34 kB / 1.267 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.504, allocations: 0.9772 MB / 1.268 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/1.504, allocations: 46.86 kB / 1.268 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/1.504, allocations: 0.5382 MB / 1.269 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.504, allocations: 314.5 kB / 1.269 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.504, allocations: 74.33 kB / 1.269 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.505, allocations: 343.8 kB / 1.27 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/1.505, allocations: 344.8 kB / 1.27 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/1.506, allocations: 485.8 kB / 1.27 GB, free: 15.34 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.511, allocations: 3.047 MB / 1.273 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.511, allocations: 1.344 kB / 1.273 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001379/1.513, allocations: 1.009 MB / 1.274 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.513, allocations: 9.531 kB / 1.274 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.513, allocations: 7.172 kB / 1.274 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.513, allocations: 9.109 kB / 1.274 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/1.513, allocations: 185.6 kB / 1.275 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.513, allocations: 6.438 kB / 1.275 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.515, allocations: 73.86 kB / 1.275 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/1.515, allocations: 36.58 kB / 1.275 GB, free: 14.73 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005671/1.515, allocations: 381.6 kB / 1.275 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.515, allocations: 129.9 kB / 1.275 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/1.516, allocations: 147.2 kB / 1.275 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.516, allocations: 9.375 kB / 1.275 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/1.516, allocations: 2.75 kB / 1.275 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/1.517, allocations: 1.094 MB / 1.276 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/1.521, allocations: 3.052 MB / 1.279 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.521, allocations: 8.656 kB / 1.279 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/1.522, allocations: 161.8 kB / 1.28 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/1.522, allocations: 99.47 kB / 1.28 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/1.522, allocations: 28.69 kB / 1.28 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.525, allocations: 2.876 MB / 1.282 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.525, allocations: 10.91 kB / 1.282 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/1.527, allocations: 1.743 MB / 1.284 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/1.527, allocations: 307.4 kB / 1.284 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.527, allocations: 35.81 kB / 1.284 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.528, allocations: 77.59 kB / 1.285 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.528, allocations: 85.19 kB / 1.285 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/1.529, allocations: 49.16 kB / 1.285 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008046/1.529, allocations: 0.696 MB / 1.285 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.529, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001102/1.53, allocations: 377.2 kB / 1.286 GB, free: 10.07 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002703/1.533, allocations: 2.414 MB / 1.288 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.534, allocations: 0.8264 MB / 1.289 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.534, allocations: 4.062 kB / 1.289 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007995/1.535, allocations: 0.6654 MB / 1.29 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005351/1.541, allocations: 0.8985 MB / 1.29 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.557, allocations: 10.82 MB / 1.301 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.558, allocations: 1.253 MB / 1.302 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001615/1.559, allocations: 342.8 kB / 1.303 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/1.56, allocations: 473.9 kB / 1.303 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.56, allocations: 0 / 1.303 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/1.622, allocations: 36.55 MB / 1.339 GB, free: 6.895 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/1.622, allocations: 285.3 kB / 1.339 GB, free: 6.504 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/4.397, allocations: 0 / 1.339 GB, free: 6.504 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches