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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004188/0.004188, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.00129/0.00129, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.631/2.631, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 71.83 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2747, allocations: 162.3 MB / 1.242 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7499/1.025, allocations: 210 MB / 1.447 GB, free: 5.082 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01583/1.041, allocations: 9.876 MB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/1.043, allocations: 59.69 kB / 1.457 GB, free: 11.13 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/1.045, allocations: 0.7648 MB / 1.457 GB, free: 10.36 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007151/1.052, allocations: 2.804 MB / 1.46 GB, free: 7.543 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/1.056, allocations: 1.395 MB / 1.462 GB, free: 6.16 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00528/1.061, allocations: 4.066 MB / 1.465 GB, free: 2.086 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/1.063, allocations: 1.333 MB / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/1.066, allocations: 1.756 MB / 1.468 GB, free: 14.96 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/1.068, allocations: 1.212 MB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/1.068, allocations: 144 kB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/1.073, allocations: 2.366 MB / 1.472 GB, free: 11.24 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006222/1.074, allocations: 0.6 MB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009679/1.075, allocations: 0.8595 MB / 1.474 GB, free: 9.777 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004222/1.079, allocations: 3.01 MB / 1.476 GB, free: 6.758 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.079, allocations: 3.938 kB / 1.476 GB, free: 6.754 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.437e-06/1.079, allocations: 4 kB / 1.476 GB, free: 6.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.019e-05/1.079, allocations: 7.938 kB / 1.476 GB, free: 6.742 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.002863/1.082, allocations: 1.949 MB / 1.478 GB, free: 4.734 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.082, allocations: 8.031 kB / 1.478 GB, free: 4.727 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/1.082, allocations: 172.8 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/1.085, allocations: 494.5 kB / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.087, allocations: 1.144 MB / 1.48 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/1.087, allocations: 78.14 kB / 1.48 GB, free: 2.797 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.087, allocations: 108 kB / 1.48 GB, free: 2.691 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/1.089, allocations: 1.161 MB / 1.481 GB, free: 1.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/1.089, allocations: 3.938 kB / 1.481 GB, free: 1.496 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.089, allocations: 51.94 kB / 1.482 GB, free: 1.445 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/1.089, allocations: 42.12 kB / 1.482 GB, free: 1.402 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/1.09, allocations: 1.074 MB / 1.483 GB, free: 328 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/1.096, allocations: 4.432 MB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.097, allocations: 0.7977 MB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/1.098, allocations: 482.2 kB / 1.488 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/1.098, allocations: 292.5 kB / 1.488 GB, free: 9.938 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.098, allocations: 55.5 kB / 1.489 GB, free: 9.875 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.385e-06/1.098, allocations: 0 / 1.489 GB, free: 9.875 MB / 1.186 GB Notification: Performance of matching and sorting (n=89): time 0.005107/1.104, allocations: 2.866 MB / 1.491 GB, free: 6.922 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.104, allocations: 64.39 kB / 1.491 GB, free: 6.848 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.105, allocations: 0.9716 MB / 1.492 GB, free: 5.859 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/1.105, allocations: 45.7 kB / 1.492 GB, free: 5.809 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.105, allocations: 0.552 MB / 1.493 GB, free: 5.25 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/1.106, allocations: 329.2 kB / 1.493 GB, free: 4.926 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.106, allocations: 158.6 kB / 1.493 GB, free: 4.766 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.106, allocations: 334 kB / 1.494 GB, free: 4.434 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/1.106, allocations: 345.8 kB / 1.494 GB, free: 4.094 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/1.107, allocations: 493.9 kB / 1.494 GB, free: 3.57 MB / 1.186 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.005692/1.113, allocations: 3.037 MB / 1.497 GB, free: 464 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.113, allocations: 0 / 1.497 GB, free: 464 kB / 1.186 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001497/1.114, allocations: 1.02 MB / 1.498 GB, free: 15.42 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.114, allocations: 4 kB / 1.498 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.114, allocations: 4 kB / 1.498 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.114, allocations: 11.98 kB / 1.498 GB, free: 15.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.115, allocations: 175.8 kB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.115, allocations: 11.98 kB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/1.116, allocations: 24 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/1.116, allocations: 35.98 kB / 1.499 GB, free: 15.16 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.000527/1.117, allocations: 382.4 kB / 1.499 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.117, allocations: 139.1 kB / 1.499 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/1.117, allocations: 148.3 kB / 1.499 GB, free: 14.49 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.117, allocations: 8 kB / 1.499 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.117, allocations: 0 / 1.499 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/1.119, allocations: 1.094 MB / 1.5 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/1.123, allocations: 3.052 MB / 1.503 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.123, allocations: 8 kB / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/1.124, allocations: 167.7 kB / 1.504 GB, free: 9.914 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/1.124, allocations: 97.64 kB / 1.504 GB, free: 9.812 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/1.124, allocations: 32 kB / 1.504 GB, free: 9.781 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/1.126, allocations: 3.09 MB / 1.507 GB, free: 6.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/1.126, allocations: 11.94 kB / 1.507 GB, free: 6.398 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/1.129, allocations: 1.738 MB / 1.508 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/1.129, allocations: 324.1 kB / 1.509 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.129, allocations: 35.92 kB / 1.509 GB, free: 4.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/1.13, allocations: 35.98 kB / 1.509 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.13, allocations: 88.11 kB / 1.509 GB, free: 4.031 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/1.13, allocations: 51.97 kB / 1.509 GB, free: 3.98 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008616/1.131, allocations: 0.6956 MB / 1.51 GB, free: 3.277 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.61e-07/1.131, allocations: 0 / 1.51 GB, free: 3.277 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009639/1.132, allocations: 371.9 kB / 1.51 GB, free: 2.914 MB / 1.201 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.002924/1.135, allocations: 2.423 MB / 1.512 GB, free: 364 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.136, allocations: 0.8439 MB / 1.513 GB, free: 15.51 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.136, allocations: 4 kB / 1.513 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00089/1.137, allocations: 0.6737 MB / 1.514 GB, free: 14.81 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.141, allocations: 0.9159 MB / 1.515 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.153, allocations: 9.726 MB / 1.524 GB, free: 3.742 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/1.154, allocations: 1.249 MB / 1.525 GB, free: 2.461 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001017/1.155, allocations: 343 kB / 1.526 GB, free: 2.121 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.156, allocations: 475.2 kB / 1.526 GB, free: 1.656 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/1.156, allocations: 0 / 1.526 GB, free: 1.656 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.148/4.303, allocations: 38.41 MB / 1.564 GB, free: 11.76 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.97/24.27, allocations: 9.875 kB / 1.564 GB, free: 11.75 MB / 1.264 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=400 --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