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.001608/0.001608, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001749/0.001749, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 9.133 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 3.032/3.032, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.001973/0.001973, allocations: 69.06 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1923/0.4952, allocations: 174.3 MB / 1.491 GB, free: 4.398 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005816/0.501, allocations: 3.407 MB / 1.494 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007107/0.5017, allocations: 27.75 kB / 1.494 GB, free: 0.957 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5027, allocations: 322.1 kB / 1.495 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.5055, allocations: 1.058 MB / 1.496 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.5074, allocations: 0.6758 MB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.5096, allocations: 1.529 MB / 1.498 GB, free: 13.37 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.5103, allocations: 413.5 kB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.5118, allocations: 0.7396 MB / 1.499 GB, free: 12.22 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.5131, allocations: 0.489 MB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.5133, allocations: 56 kB / 1.499 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.5151, allocations: 0.873 MB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.5154, allocations: 243.2 kB / 1.501 GB, free: 10.57 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005546/0.516, allocations: 342.5 kB / 1.501 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.518, allocations: 1.129 MB / 1.502 GB, free: 9.098 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.518, allocations: 0 / 1.502 GB, free: 9.098 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.144e-06/0.518, allocations: 0 / 1.502 GB, free: 9.098 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.5181, allocations: 4 kB / 1.502 GB, free: 9.094 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.001893/0.52, allocations: 0.9379 MB / 1.503 GB, free: 8.102 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.52, allocations: 15.92 kB / 1.503 GB, free: 8.086 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.5201, allocations: 82.53 kB / 1.503 GB, free: 7.996 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.5215, allocations: 179.5 kB / 1.503 GB, free: 7.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/0.5224, allocations: 0.5251 MB / 1.504 GB, free: 7.254 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.5225, allocations: 32.94 kB / 1.504 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5226, allocations: 44 kB / 1.504 GB, free: 7.18 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.5234, allocations: 470.4 kB / 1.504 GB, free: 6.715 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5234, allocations: 0 / 1.504 GB, free: 6.715 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.5235, allocations: 23.98 kB / 1.504 GB, free: 6.691 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.5235, allocations: 17 kB / 1.504 GB, free: 6.676 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.5242, allocations: 411.8 kB / 1.505 GB, free: 6.273 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.5272, allocations: 1.817 MB / 1.506 GB, free: 4.309 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.5277, allocations: 278.6 kB / 1.507 GB, free: 4.027 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.528, allocations: 172.8 kB / 1.507 GB, free: 3.855 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.5282, allocations: 105 kB / 1.507 GB, free: 3.734 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5282, allocations: 34.56 kB / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.285e-06/0.5282, allocations: 0 / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002313/0.5305, allocations: 1.07 MB / 1.508 GB, free: 2.57 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5306, allocations: 51.41 kB / 1.508 GB, free: 2.508 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.5311, allocations: 453.9 kB / 1.509 GB, free: 2.055 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.5312, allocations: 37.7 kB / 1.509 GB, free: 2.012 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5314, allocations: 252.4 kB / 1.509 GB, free: 1.762 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5315, allocations: 123 kB / 1.509 GB, free: 1.641 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5316, allocations: 73.69 kB / 1.509 GB, free: 1.562 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5318, allocations: 354.8 kB / 1.509 GB, free: 1.207 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.532, allocations: 135.7 kB / 1.509 GB, free: 1.074 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.5323, allocations: 197.6 kB / 1.51 GB, free: 0.8594 MB / 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.5343, allocations: 0.8591 MB / 1.51 GB, free: 15.96 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5343, allocations: 3.938 kB / 1.51 GB, free: 15.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000692/0.535, allocations: 424.8 kB / 1.511 GB, free: 15.54 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.535, allocations: 4 kB / 1.511 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.535, allocations: 4 kB / 1.511 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5351, allocations: 4 kB / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.5354, allocations: 71.91 kB / 1.511 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5354, allocations: 3.984 kB / 1.511 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.5358, allocations: 15.98 kB / 1.511 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.5359, allocations: 12 kB / 1.511 GB, free: 15.42 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.0003182/0.5362, allocations: 216 kB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5363, allocations: 51.67 kB / 1.511 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.5365, allocations: 64.75 kB / 1.511 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5365, allocations: 4 kB / 1.511 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5365, allocations: 0 / 1.511 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006237/0.5371, allocations: 408.5 kB / 1.512 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.5391, allocations: 1.243 MB / 1.513 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5391, allocations: 4 kB / 1.513 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.5395, allocations: 79.84 kB / 1.513 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.5395, allocations: 4 kB / 1.513 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.5395, allocations: 16 kB / 1.513 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5395, allocations: 4 kB / 1.513 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5395, allocations: 8.453 kB / 1.513 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.5405, allocations: 0.7151 MB / 1.514 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.5407, allocations: 168.7 kB / 1.514 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.5408, allocations: 12 kB / 1.514 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.5412, allocations: 19.92 kB / 1.514 GB, free: 12.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.5413, allocations: 35.84 kB / 1.514 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.5414, allocations: 19.98 kB / 1.514 GB, free: 12.14 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004012/0.5418, allocations: 335.2 kB / 1.514 GB, free: 11.81 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5418, allocations: 0 / 1.514 GB, free: 11.81 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006117/0.5424, allocations: 140 kB / 1.514 GB, free: 11.68 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.001417/0.5438, allocations: 1.292 MB / 1.516 GB, free: 10.31 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.5444, allocations: 308.6 kB / 1.516 GB, free: 10.01 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.5444, allocations: 4 kB / 1.516 GB, free: 10 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.5446, allocations: 160.1 kB / 1.516 GB, free: 9.848 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.5464, allocations: 364.7 kB / 1.516 GB, free: 9.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006281/0.5527, allocations: 4.428 MB / 1.521 GB, free: 4.844 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.5532, allocations: 0.8862 MB / 1.522 GB, free: 3.93 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005068/0.5537, allocations: 140.7 kB / 1.522 GB, free: 3.793 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.554, allocations: 167.4 kB / 1.522 GB, free: 3.629 MB / 1.217 GB Notification: Performance of SimCode: time 7.21e-07/0.554, allocations: 0 / 1.522 GB, free: 3.629 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/0.6016, allocations: 15.55 MB / 1.537 GB, free: 4.367 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.057, allocations: 12.67 kB / 1.537 GB, free: 4.359 MB / 1.232 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable vol.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.334078340092674]