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.001421/0.001421, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001701/0.001701, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.073/3.073, allocations: 476.8 MB / 0.7715 GB, free: 3.848 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.002149/0.002149, allocations: 63.56 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3835, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2979/0.6814, allocations: 185.7 MB / 1.465 GB, free: 252 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.699, allocations: 9.257 MB / 1.474 GB, free: 6.977 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.7015, allocations: 79.31 kB / 1.475 GB, free: 6.898 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.704, allocations: 0.7493 MB / 1.475 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008631/0.7127, allocations: 2.921 MB / 1.478 GB, free: 3.215 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.7175, allocations: 1.43 MB / 1.48 GB, free: 1.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007569/0.7251, allocations: 4.193 MB / 1.484 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.7273, allocations: 0.9897 MB / 1.485 GB, free: 12.56 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.7309, allocations: 1.452 MB / 1.486 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.7347, allocations: 1.344 MB / 1.487 GB, free: 9.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008/0.7355, allocations: 144 kB / 1.487 GB, free: 9.629 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/0.7414, allocations: 2.002 MB / 1.489 GB, free: 7.621 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.7427, allocations: 0.6231 MB / 1.49 GB, free: 6.996 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.7453, allocations: 0.7119 MB / 1.491 GB, free: 6.281 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007879/0.7532, allocations: 2.955 MB / 1.494 GB, free: 3.316 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.7532, allocations: 0 / 1.494 GB, free: 3.316 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7532, allocations: 0 / 1.494 GB, free: 3.316 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000105/0.7533, allocations: 0 / 1.494 GB, free: 3.316 MB / 1.186 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.00526/0.7586, allocations: 1.869 MB / 1.495 GB, free: 1.406 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.7586, allocations: 8.031 kB / 1.495 GB, free: 1.398 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.661e-05/0.7587, allocations: 30.14 kB / 1.495 GB, free: 1.367 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004555/0.7591, allocations: 168.8 kB / 1.496 GB, free: 1.191 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.763, allocations: 498.5 kB / 1.496 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.7661, allocations: 1.049 MB / 1.497 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.7662, allocations: 82.08 kB / 1.497 GB, free: 15.53 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.7666, allocations: 112 kB / 1.497 GB, free: 15.42 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/0.7698, allocations: 1.616 MB / 1.499 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.7698, allocations: 0 / 1.499 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.7699, allocations: 47.98 kB / 1.499 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.77, allocations: 42.14 kB / 1.499 GB, free: 13.57 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.7722, allocations: 1.07 MB / 1.5 GB, free: 12.5 MB / 1.201 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.007477/0.7797, allocations: 2.908 MB / 1.503 GB, free: 9.527 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.7812, allocations: 0.7638 MB / 1.504 GB, free: 8.754 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.7819, allocations: 455 kB / 1.504 GB, free: 8.312 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/0.7823, allocations: 60.95 kB / 1.504 GB, free: 8.254 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.7824, allocations: 47.56 kB / 1.504 GB, free: 8.199 MB / 1.201 GB Notification: Performance of pre-optimization done (n=83): time 4.879e-06/0.7824, allocations: 0 / 1.504 GB, free: 8.199 MB / 1.201 GB Notification: Performance of matching and sorting (n=89): time 0.007615/0.79, allocations: 2.636 MB / 1.507 GB, free: 5.527 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.7901, allocations: 64.41 kB / 1.507 GB, free: 5.453 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.7922, allocations: 0.9754 MB / 1.508 GB, free: 4.461 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.7924, allocations: 45.7 kB / 1.508 GB, free: 4.41 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007225/0.7931, allocations: 0.5559 MB / 1.508 GB, free: 3.848 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.7936, allocations: 321.2 kB / 1.509 GB, free: 3.531 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/0.794, allocations: 158.6 kB / 1.509 GB, free: 3.371 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.7942, allocations: 337.9 kB / 1.509 GB, free: 3.035 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.7948, allocations: 349.8 kB / 1.509 GB, free: 2.691 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.7957, allocations: 0.571 MB / 1.51 GB, free: 2.059 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.007055/0.8027, allocations: 2.819 MB / 1.513 GB, free: 15.2 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.8027, allocations: 0 / 1.513 GB, free: 15.2 MB / 1.217 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002024/0.8048, allocations: 1.02 MB / 1.514 GB, free: 14.18 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.8048, allocations: 8 kB / 1.514 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.8048, allocations: 4 kB / 1.514 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.8048, allocations: 4 kB / 1.514 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.8057, allocations: 183.7 kB / 1.514 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.8057, allocations: 11.98 kB / 1.514 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.8069, allocations: 20 kB / 1.514 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.807, allocations: 36 kB / 1.514 GB, free: 13.92 MB / 1.217 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.0007628/0.8078, allocations: 384.2 kB / 1.514 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.8081, allocations: 135.1 kB / 1.515 GB, free: 13.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.8085, allocations: 148.3 kB / 1.515 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8085, allocations: 8 kB / 1.515 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.8085, allocations: 4 kB / 1.515 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/0.8104, allocations: 1.09 MB / 1.516 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/0.8163, allocations: 2.82 MB / 1.518 GB, free: 9.086 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.8163, allocations: 12.22 kB / 1.518 GB, free: 9.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.8171, allocations: 163.7 kB / 1.519 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.8175, allocations: 101.6 kB / 1.519 GB, free: 8.809 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.922e-05/0.8176, allocations: 28 kB / 1.519 GB, free: 8.781 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/0.8207, allocations: 2.871 MB / 1.522 GB, free: 5.684 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.8207, allocations: 11.94 kB / 1.522 GB, free: 5.672 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.8237, allocations: 1.746 MB / 1.523 GB, free: 3.789 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/0.8245, allocations: 235.1 kB / 1.524 GB, free: 3.559 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.8248, allocations: 31.94 kB / 1.524 GB, free: 3.527 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.826, allocations: 43.92 kB / 1.524 GB, free: 3.484 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.8262, allocations: 88.08 kB / 1.524 GB, free: 3.398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.8264, allocations: 43.98 kB / 1.524 GB, free: 3.355 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001283/0.8277, allocations: 0.6956 MB / 1.524 GB, free: 2.652 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.8277, allocations: 0 / 1.524 GB, free: 2.652 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001483/0.8291, allocations: 379.9 kB / 1.525 GB, free: 2.281 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.003819/0.833, allocations: 2.402 MB / 1.527 GB, free: 15.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.8347, allocations: 0.8083 MB / 1.528 GB, free: 14.92 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.8347, allocations: 7.938 kB / 1.528 GB, free: 14.91 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.8359, allocations: 0.6457 MB / 1.529 GB, free: 14.24 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/0.8411, allocations: 0.9266 MB / 1.529 GB, free: 13.33 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.858, allocations: 9.724 MB / 1.539 GB, free: 3.164 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009072/0.8589, allocations: 0.6612 MB / 1.54 GB, free: 2.469 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001367/0.8603, allocations: 338.9 kB / 1.54 GB, free: 2.133 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.8611, allocations: 475.3 kB / 1.54 GB, free: 1.668 MB / 1.232 GB Notification: Performance of SimCode: time 1.112e-06/0.8611, allocations: 4 kB / 1.54 GB, free: 1.664 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09442/0.9555, allocations: 42.12 MB / 1.581 GB, free: 8.523 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.99, allocations: 11.92 kB / 1.582 GB, free: 8.512 MB / 1.279 GB " [Timeout remaining time 284] (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.609173420933075]