Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001465/0.001465, 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.001659/0.001659, allocations: 216.5 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.991/2.991, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_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.002007/0.002007, allocations: 62.44 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2206/0.5402, allocations: 185.8 MB / 1.508 GB, free: 7.012 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.5554, allocations: 9.279 MB / 1.517 GB, free: 13.71 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.5573, allocations: 79.31 kB / 1.517 GB, free: 13.64 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.5597, allocations: 0.7532 MB / 1.518 GB, free: 12.88 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008106/0.5678, allocations: 2.93 MB / 1.521 GB, free: 9.938 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.5718, allocations: 1.442 MB / 1.522 GB, free: 8.504 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006003/0.5778, allocations: 4.185 MB / 1.526 GB, free: 4.301 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.5799, allocations: 0.9897 MB / 1.527 GB, free: 3.277 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.5848, allocations: 1.884 MB / 1.529 GB, free: 1.387 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.5882, allocations: 1.292 MB / 1.53 GB, free: 100 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.5886, allocations: 144 kB / 1.53 GB, free: 15.95 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/0.5932, allocations: 1.967 MB / 1.532 GB, free: 13.98 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009764/0.5942, allocations: 0.6309 MB / 1.533 GB, free: 13.35 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.596, allocations: 0.7158 MB / 1.534 GB, free: 12.63 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.6019, allocations: 2.955 MB / 1.537 GB, free: 9.668 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6019, allocations: 0 / 1.537 GB, free: 9.668 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6019, allocations: 0 / 1.537 GB, free: 9.668 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.809e-05/0.6019, allocations: 3.938 kB / 1.537 GB, free: 9.664 MB / 1.232 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.004068/0.606, allocations: 1.858 MB / 1.538 GB, free: 7.766 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6061, allocations: 8.031 kB / 1.538 GB, free: 7.758 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.165e-05/0.6061, allocations: 38.14 kB / 1.538 GB, free: 7.719 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.6064, allocations: 168.8 kB / 1.539 GB, free: 7.543 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.6099, allocations: 494.5 kB / 1.539 GB, free: 7.059 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.6121, allocations: 1.06 MB / 1.54 GB, free: 5.961 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.6122, allocations: 90.12 kB / 1.54 GB, free: 5.871 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.6124, allocations: 116 kB / 1.54 GB, free: 5.758 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.6148, allocations: 1.605 MB / 1.542 GB, free: 4.012 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.6148, allocations: 0 / 1.542 GB, free: 4.012 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.6149, allocations: 48 kB / 1.542 GB, free: 3.965 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/0.615, allocations: 42.12 kB / 1.542 GB, free: 3.922 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.6167, allocations: 1.074 MB / 1.543 GB, free: 2.84 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/0.6225, allocations: 2.909 MB / 1.546 GB, free: 15.87 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.6238, allocations: 0.7475 MB / 1.547 GB, free: 15.12 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.6245, allocations: 458.2 kB / 1.547 GB, free: 14.67 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.6248, allocations: 56.97 kB / 1.547 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.6248, allocations: 51.55 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 3.176e-06/0.6248, allocations: 0 / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005831/0.6307, allocations: 2.628 MB / 1.55 GB, free: 11.89 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.6307, allocations: 64.41 kB / 1.55 GB, free: 11.82 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.6321, allocations: 0.9832 MB / 1.551 GB, free: 10.82 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.6322, allocations: 53.64 kB / 1.551 GB, free: 10.76 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.6327, allocations: 0.5404 MB / 1.551 GB, free: 10.21 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.633, allocations: 329.2 kB / 1.552 GB, free: 9.887 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.6333, allocations: 162.6 kB / 1.552 GB, free: 9.723 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6334, allocations: 334 kB / 1.552 GB, free: 9.391 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.6339, allocations: 341.8 kB / 1.552 GB, free: 9.059 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.6347, allocations: 0.5826 MB / 1.553 GB, free: 8.406 MB / 1.248 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.006177/0.6409, allocations: 2.816 MB / 1.556 GB, free: 5.566 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6409, allocations: 0 / 1.556 GB, free: 5.566 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0018/0.6427, allocations: 1.016 MB / 1.557 GB, free: 4.539 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.6427, allocations: 8 kB / 1.557 GB, free: 4.531 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.6427, allocations: 4.375 kB / 1.557 GB, free: 4.527 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.6427, allocations: 8 kB / 1.557 GB, free: 4.52 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.6435, allocations: 183.7 kB / 1.557 GB, free: 4.34 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6435, allocations: 8 kB / 1.557 GB, free: 4.332 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.6446, allocations: 23.98 kB / 1.557 GB, free: 4.309 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.6446, allocations: 32 kB / 1.557 GB, free: 4.277 MB / 1.248 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.0006393/0.6453, allocations: 381.5 kB / 1.557 GB, free: 3.895 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.6455, allocations: 135.1 kB / 1.557 GB, free: 3.762 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.6458, allocations: 148.3 kB / 1.558 GB, free: 3.613 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.6458, allocations: 8 kB / 1.558 GB, free: 3.605 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.6458, allocations: 8 kB / 1.558 GB, free: 3.598 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001596/0.6474, allocations: 1.09 MB / 1.559 GB, free: 2.438 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.6523, allocations: 2.812 MB / 1.561 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.6523, allocations: 12 kB / 1.561 GB, free: 15.44 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.653, allocations: 163.7 kB / 1.562 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.6533, allocations: 98.44 kB / 1.562 GB, free: 15.18 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.6534, allocations: 35.98 kB / 1.562 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.656, allocations: 2.863 MB / 1.565 GB, free: 12.05 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.656, allocations: 20.06 kB / 1.565 GB, free: 12.03 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.6586, allocations: 1.742 MB / 1.566 GB, free: 10.15 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/0.6593, allocations: 239.1 kB / 1.567 GB, free: 9.914 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.6594, allocations: 39.92 kB / 1.567 GB, free: 9.875 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.6603, allocations: 33.3 kB / 1.567 GB, free: 9.844 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6605, allocations: 96.06 kB / 1.567 GB, free: 9.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/0.6606, allocations: 44.11 kB / 1.567 GB, free: 9.707 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009497/0.6615, allocations: 0.6956 MB / 1.567 GB, free: 9.004 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6615, allocations: 0 / 1.567 GB, free: 9.004 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001121/0.6626, allocations: 371.9 kB / 1.568 GB, free: 8.641 MB / 1.264 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.003064/0.6657, allocations: 2.413 MB / 1.57 GB, free: 6.086 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.6671, allocations: 0.8125 MB / 1.571 GB, free: 5.266 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.6671, allocations: 4 kB / 1.571 GB, free: 5.262 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.6681, allocations: 0.6543 MB / 1.572 GB, free: 4.586 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/0.6722, allocations: 0.9232 MB / 1.572 GB, free: 3.68 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.6863, allocations: 9.715 MB / 1.582 GB, free: 9.531 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/0.6872, allocations: 0.6651 MB / 1.583 GB, free: 8.832 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001269/0.6884, allocations: 339 kB / 1.583 GB, free: 8.496 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.6891, allocations: 475.2 kB / 1.583 GB, free: 8.031 MB / 1.279 GB Notification: Performance of SimCode: time 1.353e-06/0.6891, allocations: 4 kB / 1.583 GB, free: 8.027 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.682/1.371, allocations: 42.13 MB / 1.624 GB, free: 278.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.96, allocations: 13.28 kB / 1.625 GB, free: 278.9 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.384693558095023]