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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 217.3 kB / 22.26 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7707 GB, free: 4.477 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 65.48 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 170 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2739/0.606, allocations: 214.1 MB / 1.492 GB, free: 4.891 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.6237, allocations: 9.948 MB / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.6258, allocations: 79.31 kB / 1.502 GB, free: 10.85 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.6282, allocations: 0.8077 MB / 1.503 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007993/0.6362, allocations: 2.975 MB / 1.506 GB, free: 7.051 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.6409, allocations: 1.459 MB / 1.507 GB, free: 5.598 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.008114/0.649, allocations: 4.185 MB / 1.511 GB, free: 1.402 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/0.6515, allocations: 1.001 MB / 1.512 GB, free: 376 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.6551, allocations: 1.44 MB / 1.514 GB, free: 14.92 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.6589, allocations: 1.321 MB / 1.515 GB, free: 13.61 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006622/0.6596, allocations: 144 kB / 1.515 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006772/0.6664, allocations: 2.576 MB / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.6677, allocations: 0.627 MB / 1.518 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.67, allocations: 0.8634 MB / 1.519 GB, free: 9.387 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.6776, allocations: 3.01 MB / 1.522 GB, free: 6.367 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6776, allocations: 4 kB / 1.522 GB, free: 6.363 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6776, allocations: 0 / 1.522 GB, free: 6.363 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.087e-05/0.6777, allocations: 0 / 1.522 GB, free: 6.363 MB / 1.217 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.004517/0.6822, allocations: 1.866 MB / 1.524 GB, free: 4.457 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6823, allocations: 12.03 kB / 1.524 GB, free: 4.445 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003067/0.6826, allocations: 168.8 kB / 1.524 GB, free: 4.27 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.6859, allocations: 0.4907 MB / 1.525 GB, free: 3.777 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.6884, allocations: 1.049 MB / 1.526 GB, free: 2.688 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.6885, allocations: 82.14 kB / 1.526 GB, free: 2.605 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.6887, allocations: 112 kB / 1.526 GB, free: 2.496 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.6912, allocations: 1.165 MB / 1.527 GB, free: 1.301 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.6912, allocations: 0 / 1.527 GB, free: 1.301 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.6913, allocations: 44 kB / 1.527 GB, free: 1.258 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.6914, allocations: 42.14 kB / 1.527 GB, free: 1.215 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.6936, allocations: 1.07 MB / 1.528 GB, free: 140 kB / 1.217 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.007932/0.7016, allocations: 4.145 MB / 1.532 GB, free: 11.71 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.703, allocations: 0.767 MB / 1.533 GB, free: 10.94 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.7037, allocations: 459 kB / 1.533 GB, free: 10.49 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.704, allocations: 69.23 kB / 1.533 GB, free: 10.43 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.7041, allocations: 47.5 kB / 1.533 GB, free: 10.37 MB / 1.232 GB Notification: Performance of pre-optimization done (n=83): time 3.076e-06/0.7041, allocations: 0 / 1.533 GB, free: 10.37 MB / 1.232 GB Notification: Performance of matching and sorting (n=89): time 0.006737/0.7108, allocations: 2.636 MB / 1.536 GB, free: 7.699 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.7109, allocations: 68.39 kB / 1.536 GB, free: 7.621 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.7128, allocations: 0.9793 MB / 1.537 GB, free: 6.625 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7129, allocations: 41.7 kB / 1.537 GB, free: 6.578 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.7135, allocations: 0.5559 MB / 1.538 GB, free: 6.016 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.7139, allocations: 329.1 kB / 1.538 GB, free: 5.691 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.7142, allocations: 162.6 kB / 1.538 GB, free: 5.527 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.7144, allocations: 334 kB / 1.538 GB, free: 5.195 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.715, allocations: 345.8 kB / 1.539 GB, free: 4.855 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.7158, allocations: 489.9 kB / 1.539 GB, free: 4.34 MB / 1.232 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.006646/0.7224, allocations: 2.802 MB / 1.542 GB, free: 1.504 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.7224, allocations: 4 kB / 1.542 GB, free: 1.5 MB / 1.232 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001859/0.7243, allocations: 1.024 MB / 1.543 GB, free: 484 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7243, allocations: 4 kB / 1.543 GB, free: 480 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.7243, allocations: 4 kB / 1.543 GB, free: 476 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.7243, allocations: 8 kB / 1.543 GB, free: 468 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.7251, allocations: 183.7 kB / 1.543 GB, free: 284 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.7251, allocations: 4 kB / 1.543 GB, free: 280 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7263, allocations: 27.98 kB / 1.543 GB, free: 252 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.7263, allocations: 32.22 kB / 1.543 GB, free: 220 kB / 1.232 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.0007849/0.7271, allocations: 377.5 kB / 1.544 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.7275, allocations: 135.1 kB / 1.544 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.7279, allocations: 152.3 kB / 1.544 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.728, allocations: 8 kB / 1.544 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.728, allocations: 0 / 1.544 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002034/0.73, allocations: 1.09 MB / 1.545 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/0.7359, allocations: 3.023 MB / 1.548 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.7359, allocations: 12 kB / 1.548 GB, free: 11.17 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008542/0.7368, allocations: 167.7 kB / 1.548 GB, free: 11.01 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.7372, allocations: 101.6 kB / 1.548 GB, free: 10.9 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.7373, allocations: 28 kB / 1.548 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.7405, allocations: 2.875 MB / 1.551 GB, free: 7.773 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/0.7405, allocations: 15.94 kB / 1.551 GB, free: 7.758 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.7436, allocations: 1.742 MB / 1.553 GB, free: 5.875 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/0.7445, allocations: 235.1 kB / 1.553 GB, free: 5.645 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.7448, allocations: 27.94 kB / 1.553 GB, free: 5.617 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7458, allocations: 50.97 kB / 1.553 GB, free: 5.57 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.746, allocations: 92.08 kB / 1.553 GB, free: 5.48 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7461, allocations: 43.98 kB / 1.553 GB, free: 5.438 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001111/0.7472, allocations: 0.6956 MB / 1.554 GB, free: 4.734 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7472, allocations: 0 / 1.554 GB, free: 4.734 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001411/0.7486, allocations: 375.9 kB / 1.554 GB, free: 4.367 MB / 1.248 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.003479/0.7521, allocations: 2.42 MB / 1.557 GB, free: 1.805 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.7538, allocations: 0.8129 MB / 1.557 GB, free: 0.9883 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.7538, allocations: 3.906 kB / 1.557 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.7549, allocations: 0.6501 MB / 1.558 GB, free: 316 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/0.7592, allocations: 0.9177 MB / 1.559 GB, free: 15.4 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.7756, allocations: 9.724 MB / 1.568 GB, free: 5.238 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.7768, allocations: 1.253 MB / 1.57 GB, free: 3.957 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001362/0.7782, allocations: 339 kB / 1.57 GB, free: 3.621 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/0.779, allocations: 479.3 kB / 1.57 GB, free: 3.152 MB / 1.264 GB Notification: Performance of SimCode: time 1.022e-06/0.779, allocations: 0 / 1.57 GB, free: 3.152 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.713/1.492, allocations: 39.27 MB / 1.609 GB, free: 318 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.96, allocations: 8.609 kB / 1.609 GB, free: 317.9 MB / 1.295 GB " [Timeout remaining time 283] (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 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.81922234920785]