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.001301/0.001301, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001457/0.001457, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8 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.865/2.865, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",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.002086/0.002086, allocations: 61.19 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.266/0.6216, allocations: 214.1 MB / 1.493 GB, free: 4.859 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.6384, allocations: 9.934 MB / 1.503 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.6405, allocations: 87.25 kB / 1.503 GB, free: 10.82 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.6431, allocations: 0.8116 MB / 1.504 GB, free: 10.01 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00834/0.6514, allocations: 2.964 MB / 1.507 GB, free: 7.031 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.6559, allocations: 1.461 MB / 1.508 GB, free: 5.578 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.007516/0.6635, allocations: 4.193 MB / 1.512 GB, free: 1.375 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.6657, allocations: 0.9974 MB / 1.513 GB, free: 352 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.6695, allocations: 1.436 MB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.673, allocations: 1.326 MB / 1.516 GB, free: 13.58 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004985/0.6735, allocations: 144 kB / 1.516 GB, free: 13.44 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/0.6794, allocations: 2.583 MB / 1.519 GB, free: 10.85 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.6805, allocations: 0.627 MB / 1.519 GB, free: 10.22 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.6821, allocations: 0.8634 MB / 1.52 GB, free: 9.355 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.688, allocations: 3.006 MB / 1.523 GB, free: 6.34 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.688, allocations: 0 / 1.523 GB, free: 6.34 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/0.688, allocations: 0 / 1.523 GB, free: 6.34 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.688, allocations: 0 / 1.523 GB, free: 6.34 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.00362/0.6917, allocations: 1.873 MB / 1.525 GB, free: 4.426 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6917, allocations: 8.031 kB / 1.525 GB, free: 4.418 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.017e-05/0.6917, allocations: 30.14 kB / 1.525 GB, free: 4.387 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002219/0.692, allocations: 168.8 kB / 1.525 GB, free: 4.211 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.6955, allocations: 0.4907 MB / 1.525 GB, free: 3.719 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.6981, allocations: 1.049 MB / 1.526 GB, free: 2.629 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.6982, allocations: 78.14 kB / 1.527 GB, free: 2.551 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.6984, allocations: 112 kB / 1.527 GB, free: 2.441 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.7006, allocations: 1.168 MB / 1.528 GB, free: 1.242 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.7006, allocations: 0 / 1.528 GB, free: 1.242 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.7007, allocations: 44 kB / 1.528 GB, free: 1.199 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.697e-05/0.7008, allocations: 42.14 kB / 1.528 GB, free: 1.156 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.7027, allocations: 1.074 MB / 1.529 GB, free: 76 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.007058/0.7097, allocations: 4.141 MB / 1.533 GB, free: 11.66 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.7111, allocations: 0.767 MB / 1.534 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.7118, allocations: 455 kB / 1.534 GB, free: 10.44 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.7121, allocations: 64.94 kB / 1.534 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7121, allocations: 47.56 kB / 1.534 GB, free: 10.32 MB / 1.232 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.7121, allocations: 3.938 kB / 1.534 GB, free: 10.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=89): time 0.005953/0.7181, allocations: 2.648 MB / 1.537 GB, free: 7.633 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.7181, allocations: 60.41 kB / 1.537 GB, free: 7.562 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.7195, allocations: 0.9793 MB / 1.538 GB, free: 6.566 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.7196, allocations: 45.7 kB / 1.538 GB, free: 6.516 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.7201, allocations: 0.552 MB / 1.538 GB, free: 5.957 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.7204, allocations: 329.1 kB / 1.539 GB, free: 5.633 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.7207, allocations: 162.6 kB / 1.539 GB, free: 5.469 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7209, allocations: 337.9 kB / 1.539 GB, free: 5.133 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.7215, allocations: 341.8 kB / 1.54 GB, free: 4.797 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.7222, allocations: 485.9 kB / 1.54 GB, free: 4.285 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.006432/0.7286, allocations: 2.808 MB / 1.543 GB, free: 1.445 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7286, allocations: 4 kB / 1.543 GB, free: 1.441 MB / 1.232 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001823/0.7304, allocations: 1.02 MB / 1.544 GB, free: 428 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7304, allocations: 8.031 kB / 1.544 GB, free: 420 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7305, allocations: 4 kB / 1.544 GB, free: 416 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.7305, allocations: 8 kB / 1.544 GB, free: 408 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.7313, allocations: 183.7 kB / 1.544 GB, free: 224 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.7313, allocations: 4 kB / 1.544 GB, free: 220 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.7324, allocations: 28.03 kB / 1.544 GB, free: 192 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/0.7325, allocations: 35.98 kB / 1.544 GB, free: 156 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.0007035/0.7332, allocations: 377.5 kB / 1.544 GB, free: 15.77 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.7334, allocations: 135.1 kB / 1.545 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.7338, allocations: 152.3 kB / 1.545 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.7338, allocations: 8 kB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.7338, allocations: 0 / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001756/0.7355, allocations: 1.09 MB / 1.546 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/0.741, allocations: 3.031 MB / 1.549 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.741, allocations: 20.22 kB / 1.549 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.7418, allocations: 155.8 kB / 1.549 GB, free: 10.94 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.7421, allocations: 101.6 kB / 1.549 GB, free: 10.83 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.7422, allocations: 28 kB / 1.549 GB, free: 10.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.745, allocations: 2.871 MB / 1.552 GB, free: 7.707 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.745, allocations: 15.94 kB / 1.552 GB, free: 7.691 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.7479, allocations: 1.742 MB / 1.554 GB, free: 5.812 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/0.7489, allocations: 235.1 kB / 1.554 GB, free: 5.582 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.7491, allocations: 35.92 kB / 1.554 GB, free: 5.547 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.7501, allocations: 35.94 kB / 1.554 GB, free: 5.512 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.7503, allocations: 92.08 kB / 1.554 GB, free: 5.422 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.7504, allocations: 52.11 kB / 1.554 GB, free: 5.371 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001119/0.7515, allocations: 0.6995 MB / 1.555 GB, free: 4.664 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7515, allocations: 3.938 kB / 1.555 GB, free: 4.66 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001322/0.7528, allocations: 371.9 kB / 1.555 GB, free: 4.297 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.003408/0.7562, allocations: 2.406 MB / 1.557 GB, free: 1.746 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7578, allocations: 0.8089 MB / 1.558 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.7578, allocations: 3.906 kB / 1.558 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.7589, allocations: 0.6534 MB / 1.559 GB, free: 256 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/0.7635, allocations: 0.9213 MB / 1.56 GB, free: 15.34 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.7795, allocations: 9.736 MB / 1.569 GB, free: 5.168 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7805, allocations: 1.245 MB / 1.57 GB, free: 3.895 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001311/0.7818, allocations: 347 kB / 1.571 GB, free: 3.551 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/0.7825, allocations: 475.3 kB / 1.571 GB, free: 3.086 MB / 1.264 GB Notification: Performance of SimCode: time 1.302e-06/0.7825, allocations: 0 / 1.571 GB, free: 3.086 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7333/1.516, allocations: 39.29 MB / 1.61 GB, free: 317.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/16.24, allocations: 6.828 kB / 1.61 GB, free: 317.8 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: 23.337581533007324]