Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_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.008047/0.008047, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00175/0.001751, allocations: 188.6 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.609/1.609, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3/3, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.84 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3462, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 1.006/1.353, allocations: 209.9 MB / 1.412 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02004/1.373, allocations: 9.852 MB / 1.422 GB, free: 7.527 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003944/1.377, allocations: 61.5 kB / 1.422 GB, free: 7.504 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/1.38, allocations: 0.7716 MB / 1.423 GB, free: 6.855 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008497/1.388, allocations: 2.812 MB / 1.425 GB, free: 4.676 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/1.392, allocations: 1.379 MB / 1.427 GB, free: 3.609 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006925/1.399, allocations: 4.066 MB / 1.431 GB, free: 1.273 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/1.402, allocations: 1.327 MB / 1.432 GB, free: 464 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/1.405, allocations: 1.395 MB / 1.433 GB, free: 15.49 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/1.408, allocations: 1.231 MB / 1.435 GB, free: 14.27 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000595/1.409, allocations: 144 kB / 1.435 GB, free: 14.12 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005412/1.414, allocations: 2.385 MB / 1.437 GB, free: 11.73 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.415, allocations: 0.6078 MB / 1.438 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/1.417, allocations: 0.8556 MB / 1.439 GB, free: 10.27 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006153/1.423, allocations: 2.999 MB / 1.441 GB, free: 7.258 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.423, allocations: 4 kB / 1.441 GB, free: 7.254 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.934e-06/1.423, allocations: 0 / 1.441 GB, free: 7.254 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.217e-05/1.423, allocations: 0 / 1.441 GB, free: 7.254 MB / 1.123 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.003851/1.427, allocations: 1.892 MB / 1.443 GB, free: 5.305 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.427, allocations: 12.62 kB / 1.443 GB, free: 5.293 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/1.428, allocations: 168.8 kB / 1.443 GB, free: 5.117 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/1.431, allocations: 493.6 kB / 1.444 GB, free: 4.633 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/1.434, allocations: 1.131 MB / 1.445 GB, free: 3.453 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/1.434, allocations: 78.14 kB / 1.445 GB, free: 3.375 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/1.434, allocations: 116 kB / 1.445 GB, free: 3.262 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.436, allocations: 1.153 MB / 1.446 GB, free: 2.078 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/1.436, allocations: 15.84 kB / 1.446 GB, free: 2.062 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.436, allocations: 44 kB / 1.446 GB, free: 2.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/1.437, allocations: 42.12 kB / 1.446 GB, free: 1.977 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.438, allocations: 1.074 MB / 1.448 GB, free: 0.8945 MB / 1.123 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.00837/1.447, allocations: 4.186 MB / 1.452 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.448, allocations: 0.7863 MB / 1.452 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/1.449, allocations: 482.5 kB / 1.453 GB, free: 11.17 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/1.449, allocations: 304.2 kB / 1.453 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.449, allocations: 47.5 kB / 1.453 GB, free: 10.76 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 2.735e-06/1.449, allocations: 0 / 1.453 GB, free: 10.76 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.005947/1.455, allocations: 2.84 MB / 1.456 GB, free: 7.828 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.455, allocations: 60.41 kB / 1.456 GB, free: 7.758 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.457, allocations: 0.9793 MB / 1.457 GB, free: 6.762 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.457, allocations: 41.7 kB / 1.457 GB, free: 6.715 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/1.457, allocations: 0.5435 MB / 1.458 GB, free: 6.164 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/1.458, allocations: 311.4 kB / 1.458 GB, free: 5.855 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/1.458, allocations: 158.6 kB / 1.458 GB, free: 5.691 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.458, allocations: 341.9 kB / 1.458 GB, free: 5.352 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/1.459, allocations: 337.8 kB / 1.459 GB, free: 5.023 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/1.459, allocations: 489.9 kB / 1.459 GB, free: 4.508 MB / 1.139 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.006052/1.465, allocations: 3.036 MB / 1.462 GB, free: 1.383 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.465, allocations: 4 kB / 1.462 GB, free: 1.379 MB / 1.139 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001601/1.467, allocations: 1.012 MB / 1.463 GB, free: 372 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.467, allocations: 4 kB / 1.463 GB, free: 368 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.467, allocations: 4 kB / 1.463 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.467, allocations: 8 kB / 1.463 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/1.468, allocations: 183.7 kB / 1.463 GB, free: 172 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.468, allocations: 7.938 kB / 1.463 GB, free: 164 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.469, allocations: 35.89 kB / 1.463 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-05/1.469, allocations: 29.64 kB / 1.463 GB, free: 100 kB / 1.139 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.0007115/1.47, allocations: 382.2 kB / 1.464 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/1.47, allocations: 130.5 kB / 1.464 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/1.47, allocations: 144.3 kB / 1.464 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.47, allocations: 12 kB / 1.464 GB, free: 15.42 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/1.47, allocations: 0 / 1.464 GB, free: 15.42 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/1.472, allocations: 1.101 MB / 1.465 GB, free: 14.24 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/1.477, allocations: 3.055 MB / 1.468 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.477, allocations: 8 kB / 1.468 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/1.478, allocations: 159.8 kB / 1.468 GB, free: 10.85 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/1.478, allocations: 101.7 kB / 1.468 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/1.478, allocations: 32 kB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/1.481, allocations: 3.083 MB / 1.471 GB, free: 7.348 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/1.481, allocations: 15.94 kB / 1.471 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/1.484, allocations: 1.733 MB / 1.473 GB, free: 5.465 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/1.484, allocations: 311.5 kB / 1.473 GB, free: 5.141 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/1.485, allocations: 31.94 kB / 1.473 GB, free: 5.109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.486, allocations: 44.11 kB / 1.473 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.486, allocations: 88.09 kB / 1.473 GB, free: 4.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.486, allocations: 47.98 kB / 1.474 GB, free: 4.934 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001023/1.487, allocations: 0.6956 MB / 1.474 GB, free: 4.23 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.4e-07/1.487, allocations: 0 / 1.474 GB, free: 4.23 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001319/1.488, allocations: 376 kB / 1.475 GB, free: 3.863 MB / 1.154 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.003199/1.492, allocations: 2.406 MB / 1.477 GB, free: 1.309 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.493, allocations: 0.8476 MB / 1.478 GB, free: 468 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.493, allocations: 7.938 kB / 1.478 GB, free: 460 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000962/1.494, allocations: 0.6622 MB / 1.478 GB, free: 15.77 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/1.499, allocations: 0.9212 MB / 1.479 GB, free: 14.87 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.514, allocations: 9.685 MB / 1.489 GB, free: 4.742 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.515, allocations: 1.249 MB / 1.49 GB, free: 3.461 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001381/1.517, allocations: 343 kB / 1.49 GB, free: 3.121 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007393/1.517, allocations: 467.3 kB / 1.491 GB, free: 2.664 MB / 1.17 GB Notification: Performance of SimCode: time 1.002e-06/1.517, allocations: 0 / 1.491 GB, free: 2.664 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/1.599, allocations: 39.08 MB / 1.529 GB, free: 12.11 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/14.3, allocations: 15.72 kB / 1.529 GB, free: 12.09 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches