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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2698/1.272, allocations: 211.1 MB / 1.478 GB, free: 1.414 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01662/1.289, allocations: 9.953 MB / 1.487 GB, free: 7.449 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/1.291, allocations: 59.69 kB / 1.487 GB, free: 7.391 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002307/1.294, allocations: 0.8038 MB / 1.488 GB, free: 6.582 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007641/1.301, allocations: 2.921 MB / 1.491 GB, free: 3.648 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004022/1.305, allocations: 1.401 MB / 1.492 GB, free: 2.254 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006581/1.312, allocations: 4.078 MB / 1.496 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/1.314, allocations: 0.9968 MB / 1.497 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/1.317, allocations: 1.425 MB / 1.499 GB, free: 11.7 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/1.32, allocations: 1.332 MB / 1.5 GB, free: 10.38 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/1.32, allocations: 144 kB / 1.5 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005713/1.326, allocations: 2.537 MB / 1.503 GB, free: 7.691 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009189/1.327, allocations: 0.6309 MB / 1.503 GB, free: 7.059 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/1.328, allocations: 0.8595 MB / 1.504 GB, free: 6.195 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005953/1.334, allocations: 3.01 MB / 1.507 GB, free: 3.176 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.334, allocations: 0 / 1.507 GB, free: 3.176 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/1.334, allocations: 0 / 1.507 GB, free: 3.176 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.685e-05/1.334, allocations: 4 kB / 1.507 GB, free: 3.172 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.003656/1.338, allocations: 1.945 MB / 1.509 GB, free: 1.168 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.338, allocations: 8.031 kB / 1.509 GB, free: 1.16 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/1.338, allocations: 168.7 kB / 1.509 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/1.342, allocations: 498.5 kB / 1.51 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/1.344, allocations: 1.136 MB / 1.511 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/1.344, allocations: 82.14 kB / 1.511 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.344, allocations: 111.9 kB / 1.511 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/1.346, allocations: 1.157 MB / 1.512 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/1.346, allocations: 7.953 kB / 1.512 GB, free: 13.93 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.347, allocations: 44 kB / 1.512 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/1.347, allocations: 50.08 kB / 1.512 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/1.348, allocations: 1.07 MB / 1.513 GB, free: 12.76 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.006682/1.355, allocations: 4.203 MB / 1.517 GB, free: 8.273 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/1.356, allocations: 0.763 MB / 1.518 GB, free: 7.496 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/1.357, allocations: 458.8 kB / 1.519 GB, free: 7.051 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/1.358, allocations: 292.3 kB / 1.519 GB, free: 6.711 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.358, allocations: 47.84 kB / 1.519 GB, free: 6.652 MB / 1.201 GB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/1.358, allocations: 0 / 1.519 GB, free: 6.652 MB / 1.201 GB Notification: Performance of matching and sorting (n=89): time 0.006038/1.364, allocations: 2.862 MB / 1.522 GB, free: 3.707 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.364, allocations: 64.41 kB / 1.522 GB, free: 3.633 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.365, allocations: 0.9754 MB / 1.523 GB, free: 2.641 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.365, allocations: 49.7 kB / 1.523 GB, free: 2.586 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/1.366, allocations: 0.5482 MB / 1.523 GB, free: 2.031 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/1.366, allocations: 325.1 kB / 1.524 GB, free: 1.711 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/1.366, allocations: 162.6 kB / 1.524 GB, free: 1.543 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.367, allocations: 338 kB / 1.524 GB, free: 1.207 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/1.367, allocations: 341.8 kB / 1.524 GB, free: 0.875 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/1.368, allocations: 493.9 kB / 1.525 GB, free: 360 kB / 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.00648/1.374, allocations: 3.038 MB / 1.528 GB, free: 13.23 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.374, allocations: 0 / 1.528 GB, free: 13.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001795/1.376, allocations: 1.016 MB / 1.529 GB, free: 12.2 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.376, allocations: 12.03 kB / 1.529 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.376, allocations: 4 kB / 1.529 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.376, allocations: 4 kB / 1.529 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/1.377, allocations: 183.7 kB / 1.529 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.377, allocations: 8 kB / 1.529 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.378, allocations: 27.94 kB / 1.529 GB, free: 11.97 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/1.378, allocations: 32 kB / 1.529 GB, free: 11.94 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.0006663/1.379, allocations: 381.5 kB / 1.529 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/1.379, allocations: 143.1 kB / 1.53 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/1.379, allocations: 152.3 kB / 1.53 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.379, allocations: 8 kB / 1.53 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.379, allocations: 4 kB / 1.53 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001685/1.381, allocations: 1.086 MB / 1.531 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005236/1.386, allocations: 3.051 MB / 1.534 GB, free: 6.863 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.386, allocations: 8.219 kB / 1.534 GB, free: 6.855 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/1.387, allocations: 171.7 kB / 1.534 GB, free: 6.688 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/1.387, allocations: 93.66 kB / 1.534 GB, free: 6.59 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/1.387, allocations: 31.98 kB / 1.534 GB, free: 6.559 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/1.39, allocations: 3.101 MB / 1.537 GB, free: 3.18 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.39, allocations: 15.94 kB / 1.537 GB, free: 3.164 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/1.393, allocations: 1.742 MB / 1.539 GB, free: 1.281 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/1.394, allocations: 312.2 kB / 1.539 GB, free: 0.957 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/1.394, allocations: 35.92 kB / 1.539 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/1.395, allocations: 33.11 kB / 1.539 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.395, allocations: 88.11 kB / 1.539 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.395, allocations: 47.98 kB / 1.539 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001055/1.397, allocations: 0.6995 MB / 1.54 GB, free: 52 kB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.397, allocations: 0 / 1.54 GB, free: 52 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.001246/1.398, allocations: 376 kB / 1.54 GB, free: 15.68 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.003487/1.401, allocations: 2.417 MB / 1.543 GB, free: 13.13 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.403, allocations: 0.8089 MB / 1.543 GB, free: 12.32 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.403, allocations: 4 kB / 1.543 GB, free: 12.32 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.404, allocations: 0.6578 MB / 1.544 GB, free: 11.63 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/1.408, allocations: 0.9336 MB / 1.545 GB, free: 10.72 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.423, allocations: 9.733 MB / 1.555 GB, free: 0.543 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.424, allocations: 1.249 MB / 1.556 GB, free: 15.27 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001304/1.425, allocations: 339 kB / 1.556 GB, free: 14.93 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/1.426, allocations: 475.3 kB / 1.557 GB, free: 14.46 MB / 1.248 GB Notification: Performance of SimCode: time 1.092e-06/1.426, allocations: 0 / 1.557 GB, free: 14.46 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08864/1.515, allocations: 38.66 MB / 1.594 GB, free: 8.32 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.31, allocations: 4.062 kB / 1.594 GB, free: 8.316 MB / 1.279 GB " [Timeout remaining time 286] (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 --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_2/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: 20.45385213199188]