Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001396/0.001396, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001742/0.001742, allocations: 218.9 kB / 22.25 MB, free: 5.121 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.961/2.961, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",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.001873/0.001873, allocations: 70.84 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2991, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2265/0.5256, allocations: 214.2 MB / 1.562 GB, free: 1.465 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.54, allocations: 9.953 MB / 1.572 GB, free: 7.492 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.5415, allocations: 79.31 kB / 1.572 GB, free: 7.414 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.5436, allocations: 0.8116 MB / 1.573 GB, free: 6.598 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006705/0.5503, allocations: 2.971 MB / 1.576 GB, free: 3.617 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.5536, allocations: 1.46 MB / 1.577 GB, free: 2.164 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005061/0.5586, allocations: 4.199 MB / 1.581 GB, free: 13.95 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.5602, allocations: 0.9819 MB / 1.582 GB, free: 12.94 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.5637, allocations: 1.876 MB / 1.584 GB, free: 11.05 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.5664, allocations: 1.306 MB / 1.585 GB, free: 9.75 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.5667, allocations: 144 kB / 1.585 GB, free: 9.609 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.5713, allocations: 2.537 MB / 1.588 GB, free: 7.066 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.000764/0.572, allocations: 0.627 MB / 1.588 GB, free: 6.438 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.5734, allocations: 0.8595 MB / 1.589 GB, free: 5.574 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.578, allocations: 3.018 MB / 1.592 GB, free: 2.547 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.578, allocations: 3.938 kB / 1.592 GB, free: 2.543 MB / 1.279 GB Notification: Performance of FrontEnd: time 4.318e-06/0.578, allocations: 3.984 kB / 1.592 GB, free: 2.539 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.578, allocations: 4 kB / 1.592 GB, free: 2.535 MB / 1.279 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.002981/0.581, allocations: 1.858 MB / 1.594 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.581, allocations: 12.03 kB / 1.594 GB, free: 0.625 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.5812, allocations: 172.7 kB / 1.594 GB, free: 456 kB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.5841, allocations: 494.6 kB / 1.595 GB, free: 15.96 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.5861, allocations: 1.06 MB / 1.596 GB, free: 14.86 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.5861, allocations: 82.14 kB / 1.596 GB, free: 14.78 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.5863, allocations: 108 kB / 1.596 GB, free: 14.67 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.5882, allocations: 1.161 MB / 1.597 GB, free: 13.48 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5882, allocations: 0 / 1.597 GB, free: 13.48 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.5883, allocations: 55.97 kB / 1.597 GB, free: 13.43 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.5883, allocations: 42.14 kB / 1.597 GB, free: 13.38 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.59, allocations: 1.078 MB / 1.598 GB, free: 12.3 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005808/0.5958, allocations: 4.363 MB / 1.602 GB, free: 7.602 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.597, allocations: 0.7623 MB / 1.603 GB, free: 6.832 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/0.5976, allocations: 470.2 kB / 1.604 GB, free: 6.371 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.5979, allocations: 56.95 kB / 1.604 GB, free: 6.316 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.598, allocations: 51.56 kB / 1.604 GB, free: 6.258 MB / 1.295 GB Notification: Performance of pre-optimization done (n=83): time 2.344e-06/0.598, allocations: 0 / 1.604 GB, free: 6.258 MB / 1.295 GB Notification: Performance of matching and sorting (n=89): time 0.005099/0.6031, allocations: 2.632 MB / 1.606 GB, free: 3.594 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.6031, allocations: 60.41 kB / 1.606 GB, free: 3.523 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.6043, allocations: 0.9754 MB / 1.607 GB, free: 2.531 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.6044, allocations: 45.7 kB / 1.607 GB, free: 2.48 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.6048, allocations: 0.5481 MB / 1.608 GB, free: 1.926 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.6051, allocations: 329.2 kB / 1.608 GB, free: 1.602 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.6053, allocations: 162.6 kB / 1.608 GB, free: 1.438 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6055, allocations: 337.9 kB / 1.609 GB, free: 1.102 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.606, allocations: 341.8 kB / 1.609 GB, free: 0.7656 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/0.6066, allocations: 489.9 kB / 1.609 GB, free: 252 kB / 1.295 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.5321/1.139, allocations: 2.806 MB / 1.612 GB, free: 256.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.139, allocations: 5.312 kB / 1.612 GB, free: 256.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001571/1.14, allocations: 1.017 MB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.14, allocations: 7.031 kB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.14, allocations: 3.156 kB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.14, allocations: 7.25 kB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/1.141, allocations: 183.8 kB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.141, allocations: 11.03 kB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008746/1.142, allocations: 26.58 kB / 1.613 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/1.142, allocations: 34.17 kB / 1.613 GB, free: 256.4 MB / 1.295 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.0005246/1.143, allocations: 381.4 kB / 1.614 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.143, allocations: 132.8 kB / 1.614 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/1.143, allocations: 146.9 kB / 1.614 GB, free: 256 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.143, allocations: 13.03 kB / 1.614 GB, free: 256 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.143, allocations: 1.688 kB / 1.614 GB, free: 256 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/1.144, allocations: 1.089 MB / 1.615 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/1.149, allocations: 3.021 MB / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.149, allocations: 8.875 kB / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/1.15, allocations: 165.8 kB / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/1.15, allocations: 100.7 kB / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/1.15, allocations: 30.34 kB / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/1.152, allocations: 2.883 MB / 1.621 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.152, allocations: 23 kB / 1.621 GB, free: 251.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/1.154, allocations: 1.742 MB / 1.623 GB, free: 250.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/1.154, allocations: 235.6 kB / 1.623 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.154, allocations: 31.42 kB / 1.623 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/1.155, allocations: 37.11 kB / 1.623 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.155, allocations: 90.47 kB / 1.623 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.155, allocations: 49.56 kB / 1.623 GB, free: 250 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008631/1.156, allocations: 0.6953 MB / 1.624 GB, free: 249.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.156, allocations: 0.5938 kB / 1.624 GB, free: 249.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001207/1.157, allocations: 372.2 kB / 1.624 GB, free: 249.7 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.002784/1.16, allocations: 2.404 MB / 1.627 GB, free: 248.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001231/1.161, allocations: 0.8117 MB / 1.628 GB, free: 247.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.161, allocations: 3.438 kB / 1.628 GB, free: 247.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/1.162, allocations: 0.6578 MB / 1.628 GB, free: 247.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.166, allocations: 0.9348 MB / 1.629 GB, free: 247.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.177, allocations: 9.719 MB / 1.639 GB, free: 242.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/1.178, allocations: 1.254 MB / 1.64 GB, free: 241.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00134/1.179, allocations: 343.7 kB / 1.64 GB, free: 241.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/1.18, allocations: 473 kB / 1.641 GB, free: 241 MB / 1.295 GB Notification: Performance of SimCode: time 7.01e-07/1.18, allocations: 0 / 1.641 GB, free: 241 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07614/1.256, allocations: 39.27 MB / 1.679 GB, free: 213.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.89, allocations: 13.88 kB / 1.679 GB, free: 213.8 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.98947191890329]