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.001159/0.001159, 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.001333/0.001333, allocations: 215.3 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] 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.919/2.919, allocations: 0.49 GB / 0.7959 GB, free: 33.36 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.001795/0.001795, allocations: 66.41 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2899, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2337/0.5236, allocations: 214.2 MB / 1.536 GB, free: 10.93 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.5387, allocations: 9.973 MB / 1.546 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.5402, allocations: 79.31 kB / 1.546 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.5419, allocations: 0.8155 MB / 1.546 GB, free: 36 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.5482, allocations: 2.972 MB / 1.549 GB, free: 13.05 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.5517, allocations: 1.456 MB / 1.551 GB, free: 11.6 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005678/0.5574, allocations: 4.177 MB / 1.555 GB, free: 7.406 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.5591, allocations: 1.001 MB / 1.556 GB, free: 6.371 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.5627, allocations: 1.869 MB / 1.558 GB, free: 4.496 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.5655, allocations: 1.306 MB / 1.559 GB, free: 3.195 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.5658, allocations: 144 kB / 1.559 GB, free: 3.055 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004773/0.5706, allocations: 2.549 MB / 1.562 GB, free: 0.5 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007588/0.5713, allocations: 0.627 MB / 1.562 GB, free: 15.87 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.5724, allocations: 0.8595 MB / 1.563 GB, free: 15.01 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.5772, allocations: 3.018 MB / 1.566 GB, free: 11.98 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5772, allocations: 0 / 1.566 GB, free: 11.98 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5772, allocations: 0 / 1.566 GB, free: 11.98 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.5773, allocations: 0 / 1.566 GB, free: 11.98 MB / 1.264 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.003359/0.5806, allocations: 1.869 MB / 1.568 GB, free: 10.07 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5807, allocations: 8.031 kB / 1.568 GB, free: 10.06 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.891e-05/0.5807, allocations: 30.14 kB / 1.568 GB, free: 10.03 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.5809, allocations: 168.8 kB / 1.568 GB, free: 9.855 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.5841, allocations: 0.4907 MB / 1.568 GB, free: 9.363 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.5863, allocations: 1.053 MB / 1.57 GB, free: 8.273 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.5864, allocations: 86.12 kB / 1.57 GB, free: 8.188 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5866, allocations: 120 kB / 1.57 GB, free: 8.07 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.5886, allocations: 1.157 MB / 1.571 GB, free: 6.883 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.5886, allocations: 0 / 1.571 GB, free: 6.883 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.5887, allocations: 44 kB / 1.571 GB, free: 6.84 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.5888, allocations: 46.12 kB / 1.571 GB, free: 6.793 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.5905, allocations: 1.07 MB / 1.572 GB, free: 5.715 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/0.5965, allocations: 4.371 MB / 1.576 GB, free: 1.008 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.5977, allocations: 0.7504 MB / 1.577 GB, free: 260 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.5983, allocations: 462.3 kB / 1.577 GB, free: 15.8 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.5986, allocations: 64.97 kB / 1.577 GB, free: 15.73 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5986, allocations: 43.56 kB / 1.578 GB, free: 15.68 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 3.256e-06/0.5987, allocations: 0 / 1.578 GB, free: 15.68 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005138/0.6038, allocations: 2.64 MB / 1.58 GB, free: 13.02 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.6038, allocations: 60.41 kB / 1.58 GB, free: 12.94 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.605, allocations: 0.9832 MB / 1.581 GB, free: 11.94 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.6051, allocations: 49.7 kB / 1.581 GB, free: 11.89 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.6056, allocations: 0.5443 MB / 1.582 GB, free: 11.34 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.6059, allocations: 325.2 kB / 1.582 GB, free: 11.02 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.6061, allocations: 158.6 kB / 1.582 GB, free: 10.86 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6063, allocations: 342 kB / 1.582 GB, free: 10.52 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.6068, allocations: 337.8 kB / 1.583 GB, free: 10.19 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/0.6074, allocations: 485.9 kB / 1.583 GB, free: 9.668 MB / 1.279 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.005663/0.6131, allocations: 2.816 MB / 1.586 GB, free: 6.828 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6131, allocations: 0 / 1.586 GB, free: 6.828 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001515/0.6146, allocations: 1.024 MB / 1.587 GB, free: 5.793 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6146, allocations: 8 kB / 1.587 GB, free: 5.785 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6146, allocations: 4 kB / 1.587 GB, free: 5.781 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6146, allocations: 7.938 kB / 1.587 GB, free: 5.773 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.6153, allocations: 179.7 kB / 1.587 GB, free: 5.598 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.6154, allocations: 8 kB / 1.587 GB, free: 5.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.6162, allocations: 32.36 kB / 1.587 GB, free: 5.559 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6163, allocations: 36 kB / 1.587 GB, free: 5.523 MB / 1.279 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.0005543/0.6168, allocations: 377.5 kB / 1.588 GB, free: 5.145 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.617, allocations: 135.1 kB / 1.588 GB, free: 5.012 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.6173, allocations: 144.3 kB / 1.588 GB, free: 4.867 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6173, allocations: 8 kB / 1.588 GB, free: 4.859 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.6174, allocations: 4 kB / 1.588 GB, free: 4.855 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/0.6189, allocations: 1.094 MB / 1.589 GB, free: 3.691 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.6235, allocations: 3.019 MB / 1.592 GB, free: 0.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6235, allocations: 11.94 kB / 1.592 GB, free: 500 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.6241, allocations: 163.7 kB / 1.592 GB, free: 336 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.6245, allocations: 98.06 kB / 1.592 GB, free: 232 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.6245, allocations: 35.98 kB / 1.592 GB, free: 196 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.627, allocations: 2.887 MB / 1.595 GB, free: 13.07 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.627, allocations: 11.94 kB / 1.595 GB, free: 13.06 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.6294, allocations: 1.734 MB / 1.597 GB, free: 11.19 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.6299, allocations: 235.1 kB / 1.597 GB, free: 10.96 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.6301, allocations: 39.92 kB / 1.597 GB, free: 10.92 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000831/0.6309, allocations: 41.8 kB / 1.597 GB, free: 10.88 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.631, allocations: 88.12 kB / 1.597 GB, free: 10.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.6311, allocations: 51.92 kB / 1.597 GB, free: 10.75 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009059/0.632, allocations: 0.6956 MB / 1.598 GB, free: 10.04 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.632, allocations: 0 / 1.598 GB, free: 10.04 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001042/0.633, allocations: 371.9 kB / 1.598 GB, free: 9.68 MB / 1.295 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.002974/0.636, allocations: 2.411 MB / 1.601 GB, free: 7.125 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.6374, allocations: 0.8123 MB / 1.601 GB, free: 6.305 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6374, allocations: 0 / 1.601 GB, free: 6.305 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.6383, allocations: 0.6544 MB / 1.602 GB, free: 5.629 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/0.6422, allocations: 0.9273 MB / 1.603 GB, free: 4.719 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.529/1.171, allocations: 9.718 MB / 1.612 GB, free: 278 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/1.172, allocations: 1.249 MB / 1.614 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001109/1.173, allocations: 345.5 kB / 1.614 GB, free: 277.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/1.174, allocations: 473.1 kB / 1.614 GB, free: 276.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.182e-06/1.174, allocations: 0 / 1.614 GB, free: 276.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/1.247, allocations: 39.31 MB / 1.653 GB, free: 259.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.18, allocations: 11.31 kB / 1.653 GB, free: 259.9 MB / 1.295 GB " [Timeout remaining time 286] (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: 20.393157476966735]