Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001738/0.001738, 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.002116/0.002116, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.308/1.308, allocations: 230.6 MB / 256 MB, free: 7.965 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.898/2.898, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001881/0.001881, allocations: 66.25 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1916/0.4908, allocations: 174.5 MB / 1.496 GB, free: 2.77 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005404/0.4962, allocations: 3.414 MB / 1.5 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.4968, allocations: 27.75 kB / 1.5 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008377/0.4976, allocations: 330.1 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.4998, allocations: 1.066 MB / 1.501 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.5014, allocations: 0.7162 MB / 1.502 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.5032, allocations: 1.564 MB / 1.503 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.5037, allocations: 377.9 kB / 1.504 GB, free: 11.27 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.5048, allocations: 0.7396 MB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.5058, allocations: 497.4 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.5059, allocations: 56 kB / 1.505 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.5072, allocations: 0.8885 MB / 1.506 GB, free: 9.098 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.5075, allocations: 247.3 kB / 1.506 GB, free: 8.855 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.5079, allocations: 338.5 kB / 1.506 GB, free: 8.523 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.5092, allocations: 1.141 MB / 1.507 GB, free: 7.379 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5092, allocations: 0 / 1.507 GB, free: 7.379 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5092, allocations: 0 / 1.507 GB, free: 7.379 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.5092, allocations: 0 / 1.507 GB, free: 7.379 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001305/0.5105, allocations: 0.8626 MB / 1.508 GB, free: 6.484 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5106, allocations: 8.031 kB / 1.508 GB, free: 6.477 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.5107, allocations: 90.44 kB / 1.508 GB, free: 6.379 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5118, allocations: 171.5 kB / 1.509 GB, free: 6.211 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.5126, allocations: 482.4 kB / 1.509 GB, free: 5.715 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.5126, allocations: 29 kB / 1.509 GB, free: 5.688 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.5127, allocations: 40 kB / 1.509 GB, free: 5.648 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.5134, allocations: 474.4 kB / 1.509 GB, free: 5.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5134, allocations: 0 / 1.509 GB, free: 5.18 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.5135, allocations: 16 kB / 1.509 GB, free: 5.164 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.5135, allocations: 17 kB / 1.51 GB, free: 5.145 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.5141, allocations: 419.7 kB / 1.51 GB, free: 4.738 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.5166, allocations: 1.768 MB / 1.512 GB, free: 2.824 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.5171, allocations: 282.5 kB / 1.512 GB, free: 2.539 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.5174, allocations: 174.1 kB / 1.512 GB, free: 2.367 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.5175, allocations: 35.91 kB / 1.512 GB, free: 2.332 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.5175, allocations: 34.56 kB / 1.512 GB, free: 2.289 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.242e-06/0.5175, allocations: 0 / 1.512 GB, free: 2.289 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001836/0.5194, allocations: 0.9883 MB / 1.513 GB, free: 1.266 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5194, allocations: 59.41 kB / 1.513 GB, free: 1.195 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.5199, allocations: 457.8 kB / 1.514 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.5199, allocations: 33.7 kB / 1.514 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.5201, allocations: 252.5 kB / 1.514 GB, free: 464 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5202, allocations: 122.9 kB / 1.514 GB, free: 340 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5203, allocations: 65.7 kB / 1.514 GB, free: 268 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5205, allocations: 358.8 kB / 1.514 GB, free: 15.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5207, allocations: 135.7 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.521, allocations: 201.7 kB / 1.515 GB, free: 15.55 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.5228, allocations: 0.7942 MB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5228, allocations: 0 / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005929/0.5234, allocations: 416.9 kB / 1.516 GB, free: 14.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5234, allocations: 4 kB / 1.516 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5234, allocations: 4 kB / 1.516 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5234, allocations: 12.17 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.5237, allocations: 71.91 kB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5237, allocations: 4 kB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.5241, allocations: 8 kB / 1.516 GB, free: 14.22 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5241, allocations: 19.92 kB / 1.516 GB, free: 14.2 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002378/0.5244, allocations: 213.6 kB / 1.516 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.5244, allocations: 51.67 kB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.5246, allocations: 64.7 kB / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5246, allocations: 8 kB / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5246, allocations: 0 / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004904/0.5251, allocations: 404.3 kB / 1.517 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.5268, allocations: 1.215 MB / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5268, allocations: 8.062 kB / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.5272, allocations: 71.91 kB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5272, allocations: 4 kB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.5272, allocations: 12 kB / 1.518 GB, free: 12.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5272, allocations: 4 kB / 1.518 GB, free: 12.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.5272, allocations: 11.92 kB / 1.518 GB, free: 12.01 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.5282, allocations: 0.7074 MB / 1.519 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.5284, allocations: 95.62 kB / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.5285, allocations: 8 kB / 1.519 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.5289, allocations: 25.86 kB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.5289, allocations: 35.89 kB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.529, allocations: 16 kB / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003673/0.5293, allocations: 331.1 kB / 1.519 GB, free: 10.74 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5293, allocations: 0 / 1.519 GB, free: 10.74 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005294/0.5299, allocations: 144 kB / 1.519 GB, free: 10.6 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001322/0.5312, allocations: 1.302 MB / 1.521 GB, free: 9.223 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005386/0.5317, allocations: 313.3 kB / 1.521 GB, free: 8.918 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5317, allocations: 0 / 1.521 GB, free: 8.918 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.532, allocations: 160.7 kB / 1.521 GB, free: 8.762 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5336, allocations: 363.5 kB / 1.521 GB, free: 8.41 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.5392, allocations: 4.423 MB / 1.526 GB, free: 3.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.5398, allocations: 0.8862 MB / 1.527 GB, free: 2.855 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000436/0.5402, allocations: 128.7 kB / 1.527 GB, free: 2.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.5404, allocations: 167.4 kB / 1.527 GB, free: 2.566 MB / 1.217 GB Notification: Performance of SimCode: time 5.81e-07/0.5404, allocations: 0 / 1.527 GB, free: 2.566 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04956/0.59, allocations: 15.88 MB / 1.542 GB, free: 3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.39, allocations: 13.23 kB / 1.542 GB, free: 2.992 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 17.315447584958747]