Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.MixingVolumeMFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_11_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.005607/0.005607, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001475/0.001475, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.483/2.483, allocations: 469.8 MB / 0.7425 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 63.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6705, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2156/0.8861, allocations: 209.9 MB / 1.425 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.8999, allocations: 9.883 MB / 1.435 GB, free: 5.48 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.9012, allocations: 59.69 kB / 1.435 GB, free: 5.422 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.9029, allocations: 0.7687 MB / 1.436 GB, free: 4.648 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005659/0.9085, allocations: 2.817 MB / 1.438 GB, free: 1.82 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.9115, allocations: 1.377 MB / 1.44 GB, free: 460 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004677/0.9162, allocations: 4.063 MB / 1.444 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.9179, allocations: 1.325 MB / 1.445 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.9199, allocations: 1.354 MB / 1.446 GB, free: 9.656 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.9221, allocations: 1.235 MB / 1.447 GB, free: 8.426 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.9223, allocations: 144 kB / 1.448 GB, free: 8.285 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.9266, allocations: 2.385 MB / 1.45 GB, free: 5.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.9272, allocations: 0.6078 MB / 1.451 GB, free: 5.285 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009062/0.9281, allocations: 0.8556 MB / 1.451 GB, free: 4.426 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.9321, allocations: 3.014 MB / 1.454 GB, free: 1.402 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.9321, allocations: 0 / 1.454 GB, free: 1.402 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9321, allocations: 0 / 1.454 GB, free: 1.402 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.9322, allocations: 4 kB / 1.454 GB, free: 1.398 MB / 1.17 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.002792/0.935, allocations: 1.949 MB / 1.456 GB, free: 15.39 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.935, allocations: 8.031 kB / 1.456 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.9352, allocations: 168.8 kB / 1.456 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.9384, allocations: 494.5 kB / 1.457 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.9401, allocations: 1.136 MB / 1.458 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.9402, allocations: 86.14 kB / 1.458 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.9404, allocations: 108 kB / 1.458 GB, free: 13.35 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.9422, allocations: 1.161 MB / 1.459 GB, free: 12.16 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.9422, allocations: 0 / 1.459 GB, free: 12.16 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.9423, allocations: 48 kB / 1.459 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.9424, allocations: 42.08 kB / 1.459 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.944, allocations: 1.078 MB / 1.46 GB, free: 10.98 MB / 1.186 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.005516/0.9496, allocations: 4.2 MB / 1.465 GB, free: 6.496 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.9507, allocations: 0.8018 MB / 1.465 GB, free: 5.688 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.9514, allocations: 482.2 kB / 1.466 GB, free: 5.215 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.9518, allocations: 300.3 kB / 1.466 GB, free: 4.863 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.9518, allocations: 43.56 kB / 1.466 GB, free: 4.812 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 1.914e-06/0.9518, allocations: 0 / 1.466 GB, free: 4.812 MB / 1.186 GB Notification: Performance of matching and sorting (n=89): time 0.005048/0.9569, allocations: 2.866 MB / 1.469 GB, free: 1.863 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.9569, allocations: 68.41 kB / 1.469 GB, free: 1.781 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.9581, allocations: 0.9754 MB / 1.47 GB, free: 0.7891 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.9581, allocations: 45.7 kB / 1.47 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.9586, allocations: 0.552 MB / 1.471 GB, free: 184 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.9588, allocations: 321.3 kB / 1.471 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.9591, allocations: 162.6 kB / 1.471 GB, free: 15.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9592, allocations: 337.9 kB / 1.471 GB, free: 15.36 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.9598, allocations: 341.8 kB / 1.472 GB, free: 15.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.9604, allocations: 489.9 kB / 1.472 GB, free: 14.5 MB / 1.201 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.005831/0.9662, allocations: 3.029 MB / 1.475 GB, free: 11.39 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9663, allocations: 0 / 1.475 GB, free: 11.39 MB / 1.201 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001466/0.9677, allocations: 1.016 MB / 1.476 GB, free: 10.37 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9678, allocations: 11.94 kB / 1.476 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9678, allocations: 4 kB / 1.476 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.9678, allocations: 8 kB / 1.476 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.9685, allocations: 176.2 kB / 1.476 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9685, allocations: 15.94 kB / 1.476 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.9693, allocations: 31.92 kB / 1.476 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.9694, allocations: 36 kB / 1.476 GB, free: 10.09 MB / 1.201 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: 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.0004972/0.9699, allocations: 377.5 kB / 1.477 GB, free: 9.711 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.9701, allocations: 135.1 kB / 1.477 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.9703, allocations: 148.3 kB / 1.477 GB, free: 9.43 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9704, allocations: 8 kB / 1.477 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9704, allocations: 4 kB / 1.477 GB, free: 9.418 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.9718, allocations: 1.098 MB / 1.478 GB, free: 8.25 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.9762, allocations: 3.051 MB / 1.481 GB, free: 5.023 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.9762, allocations: 11.94 kB / 1.481 GB, free: 5.012 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.9769, allocations: 163.7 kB / 1.481 GB, free: 4.852 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.9772, allocations: 98.31 kB / 1.481 GB, free: 4.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.9773, allocations: 31.98 kB / 1.481 GB, free: 4.719 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.9798, allocations: 3.09 MB / 1.484 GB, free: 1.352 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.9798, allocations: 19.88 kB / 1.484 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.9821, allocations: 1.742 MB / 1.486 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.9825, allocations: 312.2 kB / 1.486 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.9826, allocations: 31.92 kB / 1.486 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.9834, allocations: 38.05 kB / 1.486 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.9836, allocations: 88.11 kB / 1.486 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/0.9837, allocations: 43.98 kB / 1.487 GB, free: 14.93 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008326/0.9845, allocations: 0.6956 MB / 1.487 GB, free: 14.22 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9845, allocations: 4 kB / 1.487 GB, free: 14.22 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009225/0.9854, allocations: 379.9 kB / 1.488 GB, free: 13.85 MB / 1.217 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.002895/0.9883, allocations: 2.415 MB / 1.49 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.9896, allocations: 0.8473 MB / 1.491 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9896, allocations: 0 / 1.491 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.9905, allocations: 0.6725 MB / 1.491 GB, free: 9.746 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.9943, allocations: 0.9289 MB / 1.492 GB, free: 8.836 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.007, allocations: 9.726 MB / 1.502 GB, free: 14.68 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009084/1.008, allocations: 1.249 MB / 1.503 GB, free: 13.4 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001117/1.009, allocations: 343 kB / 1.503 GB, free: 13.06 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000634/1.01, allocations: 475.3 kB / 1.504 GB, free: 12.59 MB / 1.232 GB Notification: Performance of SimCode: time 7.22e-07/1.01, allocations: 0 / 1.504 GB, free: 12.59 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.954/2.963, allocations: 38.42 MB / 1.541 GB, free: 6.727 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/21.4, allocations: 10.5 kB / 1.541 GB, free: 6.719 MB / 1.264 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches