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.001432/0.001432, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001596/0.001596, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.911/2.911, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 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.002278/0.002278, allocations: 69 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2849/1.3, allocations: 213.7 MB / 1.488 GB, free: 6.121 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01713/1.318, allocations: 9.887 MB / 1.497 GB, free: 12.22 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/1.32, allocations: 83.25 kB / 1.497 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/1.322, allocations: 0.8039 MB / 1.498 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00907/1.332, allocations: 2.917 MB / 1.501 GB, free: 8.398 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/1.336, allocations: 1.394 MB / 1.502 GB, free: 7.012 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006336/1.342, allocations: 4.07 MB / 1.506 GB, free: 2.922 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/1.344, allocations: 1.114 MB / 1.507 GB, free: 1.773 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/1.348, allocations: 1.44 MB / 1.509 GB, free: 336 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/1.352, allocations: 1.325 MB / 1.51 GB, free: 15 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003769/1.352, allocations: 144 kB / 1.51 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006014/1.358, allocations: 2.533 MB / 1.513 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0009234/1.359, allocations: 0.6308 MB / 1.513 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/1.36, allocations: 0.8595 MB / 1.514 GB, free: 10.83 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008138/1.369, allocations: 3.017 MB / 1.517 GB, free: 7.805 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.369, allocations: 4 kB / 1.517 GB, free: 7.801 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.464e-06/1.369, allocations: 0 / 1.517 GB, free: 7.801 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.966e-05/1.369, allocations: 0 / 1.517 GB, free: 7.801 MB / 1.201 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.004204/1.373, allocations: 1.945 MB / 1.519 GB, free: 5.797 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.373, allocations: 8.031 kB / 1.519 GB, free: 5.789 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.294e-05/1.373, allocations: 26.14 kB / 1.519 GB, free: 5.762 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/1.373, allocations: 168.8 kB / 1.519 GB, free: 5.586 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/1.377, allocations: 498.5 kB / 1.52 GB, free: 5.098 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/1.379, allocations: 1.129 MB / 1.521 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/1.379, allocations: 90.06 kB / 1.521 GB, free: 3.836 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/1.38, allocations: 116 kB / 1.521 GB, free: 3.723 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/1.382, allocations: 1.157 MB / 1.522 GB, free: 2.535 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/1.382, allocations: 3.938 kB / 1.522 GB, free: 2.531 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.382, allocations: 48 kB / 1.522 GB, free: 2.484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.152e-05/1.382, allocations: 38.14 kB / 1.522 GB, free: 2.445 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.384, allocations: 1.074 MB / 1.523 GB, free: 1.363 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.007419/1.392, allocations: 4.203 MB / 1.527 GB, free: 12.88 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.393, allocations: 0.759 MB / 1.528 GB, free: 12.11 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/1.394, allocations: 458.8 kB / 1.529 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/1.394, allocations: 296.3 kB / 1.529 GB, free: 11.32 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/1.394, allocations: 47.56 kB / 1.529 GB, free: 11.27 MB / 1.217 GB Notification: Performance of pre-optimization done (n=83): time 3.286e-06/1.394, allocations: 0 / 1.529 GB, free: 11.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=89): time 0.006578/1.401, allocations: 2.866 MB / 1.532 GB, free: 8.316 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.401, allocations: 64.34 kB / 1.532 GB, free: 8.242 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.402, allocations: 0.9754 MB / 1.533 GB, free: 7.25 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.402, allocations: 45.7 kB / 1.533 GB, free: 7.199 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/1.403, allocations: 0.5559 MB / 1.533 GB, free: 6.637 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.403, allocations: 325.1 kB / 1.534 GB, free: 6.316 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/1.403, allocations: 158.6 kB / 1.534 GB, free: 6.152 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.404, allocations: 341.9 kB / 1.534 GB, free: 5.812 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/1.404, allocations: 337.8 kB / 1.534 GB, free: 5.484 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/1.405, allocations: 493.9 kB / 1.535 GB, free: 4.965 MB / 1.217 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.006637/1.412, allocations: 3.032 MB / 1.538 GB, free: 1.844 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.412, allocations: 4 kB / 1.538 GB, free: 1.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001874/1.413, allocations: 1.024 MB / 1.539 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.414, allocations: 4 kB / 1.539 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.414, allocations: 4 kB / 1.539 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.414, allocations: 11.94 kB / 1.539 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/1.414, allocations: 183.7 kB / 1.539 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.414, allocations: 4 kB / 1.539 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.415, allocations: 28.3 kB / 1.539 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/1.416, allocations: 36 kB / 1.539 GB, free: 0.543 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.0007637/1.416, allocations: 373.5 kB / 1.539 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/1.417, allocations: 135.1 kB / 1.54 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/1.417, allocations: 156.3 kB / 1.54 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.417, allocations: 8 kB / 1.54 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.417, allocations: 0 / 1.54 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001788/1.419, allocations: 1.098 MB / 1.541 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/1.424, allocations: 3.051 MB / 1.544 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.424, allocations: 8 kB / 1.544 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/1.425, allocations: 159.7 kB / 1.544 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/1.426, allocations: 97.66 kB / 1.544 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/1.426, allocations: 32.27 kB / 1.544 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/1.429, allocations: 3.082 MB / 1.547 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.429, allocations: 16.06 kB / 1.547 GB, free: 7.797 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/1.432, allocations: 1.745 MB / 1.549 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/1.432, allocations: 312.2 kB / 1.549 GB, free: 5.594 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/1.432, allocations: 35.92 kB / 1.549 GB, free: 5.559 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/1.433, allocations: 43.05 kB / 1.549 GB, free: 5.52 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.434, allocations: 88.11 kB / 1.549 GB, free: 5.434 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/1.434, allocations: 43.98 kB / 1.549 GB, free: 5.391 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001212/1.435, allocations: 0.6956 MB / 1.55 GB, free: 4.688 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.435, allocations: 0 / 1.55 GB, free: 4.688 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001446/1.436, allocations: 375.9 kB / 1.55 GB, free: 4.32 MB / 1.232 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.003639/1.44, allocations: 2.415 MB / 1.553 GB, free: 1.75 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001505/1.441, allocations: 0.8127 MB / 1.553 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.441, allocations: 7.906 kB / 1.553 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.443, allocations: 0.6541 MB / 1.554 GB, free: 256 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004651/1.447, allocations: 0.9246 MB / 1.555 GB, free: 15.34 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.463, allocations: 9.726 MB / 1.564 GB, free: 5.18 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.464, allocations: 1.249 MB / 1.566 GB, free: 3.902 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00131/1.465, allocations: 335 kB / 1.566 GB, free: 3.57 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/1.466, allocations: 475.3 kB / 1.566 GB, free: 3.105 MB / 1.248 GB Notification: Performance of SimCode: time 7.82e-07/1.466, allocations: 0 / 1.566 GB, free: 3.105 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08157/1.548, allocations: 38.64 MB / 1.604 GB, free: 13.03 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.96, allocations: 13.95 kB / 1.604 GB, free: 13.02 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.553472091967706]