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.001794/0.001794, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002444/0.002444, allocations: 214.5 kB / 22.24 MB, free: 5.258 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 MB, free: 7.777 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.053/3.053, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.001957/0.001957, allocations: 71.58 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3061, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1815/0.4876, allocations: 150.7 MB / 1.472 GB, free: 11.06 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.4936, allocations: 3.208 MB / 1.475 GB, free: 7.848 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006986/0.4943, allocations: 31.75 kB / 1.475 GB, free: 7.816 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.4953, allocations: 306.1 kB / 1.476 GB, free: 7.516 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.4978, allocations: 1.046 MB / 1.477 GB, free: 6.465 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.4995, allocations: 0.6799 MB / 1.477 GB, free: 5.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.5015, allocations: 1.562 MB / 1.479 GB, free: 4.215 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.502, allocations: 370.6 kB / 1.479 GB, free: 3.852 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.5034, allocations: 0.7434 MB / 1.48 GB, free: 3.105 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.5046, allocations: 491.9 kB / 1.48 GB, free: 2.625 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.5047, allocations: 52 kB / 1.481 GB, free: 2.574 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5062, allocations: 0.6857 MB / 1.481 GB, free: 1.887 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.5064, allocations: 243.2 kB / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.5068, allocations: 278.9 kB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.5084, allocations: 1.121 MB / 1.483 GB, free: 256 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5084, allocations: 0 / 1.483 GB, free: 256 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5084, allocations: 0 / 1.483 GB, free: 256 kB / 1.17 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.5085, allocations: 4 kB / 1.483 GB, free: 252 kB / 1.17 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.00145/0.5099, allocations: 0.8588 MB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5099, allocations: 8.031 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.51, allocations: 90.52 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.5111, allocations: 171.5 kB / 1.484 GB, free: 15.08 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.5121, allocations: 474.5 kB / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.5121, allocations: 37 kB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.5122, allocations: 40 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.5131, allocations: 0.7142 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5131, allocations: 8 kB / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.5132, allocations: 19.94 kB / 1.485 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.5132, allocations: 16.98 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.5138, allocations: 415.7 kB / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.5162, allocations: 1.218 MB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.5167, allocations: 282.6 kB / 1.487 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.5169, allocations: 176.7 kB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.5171, allocations: 23.92 kB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.5171, allocations: 38.56 kB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.5171, allocations: 0 / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001978/0.5191, allocations: 0.996 MB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.5191, allocations: 59.39 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.5196, allocations: 449.9 kB / 1.489 GB, free: 9.941 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.5197, allocations: 41.7 kB / 1.489 GB, free: 9.895 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.5199, allocations: 252.5 kB / 1.489 GB, free: 9.645 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.52, allocations: 122.9 kB / 1.489 GB, free: 9.523 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5201, allocations: 65.7 kB / 1.489 GB, free: 9.453 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5203, allocations: 358.8 kB / 1.489 GB, free: 9.094 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.5205, allocations: 127.9 kB / 1.49 GB, free: 8.969 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.5208, allocations: 248.9 kB / 1.49 GB, free: 8.691 MB / 1.186 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.0019/0.5227, allocations: 0.7975 MB / 1.491 GB, free: 7.871 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5227, allocations: 0 / 1.491 GB, free: 7.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006491/0.5233, allocations: 416.9 kB / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5234, allocations: 8 kB / 1.491 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5234, allocations: 0 / 1.491 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5234, allocations: 4 kB / 1.491 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.5237, allocations: 71.91 kB / 1.491 GB, free: 7.375 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5237, allocations: 16.06 kB / 1.491 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.5241, allocations: 15.92 kB / 1.491 GB, free: 7.344 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.5241, allocations: 12 kB / 1.491 GB, free: 7.332 MB / 1.186 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.0002799/0.5244, allocations: 220.5 kB / 1.491 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.5245, allocations: 51.67 kB / 1.491 GB, free: 7.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.5246, allocations: 56.77 kB / 1.491 GB, free: 7 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5246, allocations: 4 kB / 1.491 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5246, allocations: 0 / 1.491 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005279/0.5252, allocations: 408.3 kB / 1.492 GB, free: 6.566 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.527, allocations: 1.14 MB / 1.493 GB, free: 5.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.527, allocations: 4 kB / 1.493 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.5273, allocations: 76.41 kB / 1.493 GB, free: 5.254 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.5273, allocations: 11.94 kB / 1.493 GB, free: 5.242 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.5274, allocations: 16 kB / 1.493 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.5274, allocations: 11.92 kB / 1.493 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5274, allocations: 4 kB / 1.493 GB, free: 5.211 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.5283, allocations: 0.7035 MB / 1.494 GB, free: 4.441 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.5285, allocations: 91.62 kB / 1.494 GB, free: 4.352 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.5286, allocations: 12 kB / 1.494 GB, free: 4.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.529, allocations: 20.05 kB / 1.494 GB, free: 4.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.5291, allocations: 35.83 kB / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.5291, allocations: 20 kB / 1.494 GB, free: 4.266 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003788/0.5295, allocations: 331.1 kB / 1.494 GB, free: 3.945 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5295, allocations: 4 kB / 1.494 GB, free: 3.941 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000525/0.53, allocations: 140 kB / 1.494 GB, free: 3.805 MB / 1.186 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.00132/0.5313, allocations: 1.296 MB / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.5319, allocations: 315.8 kB / 1.496 GB, free: 2.125 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.5319, allocations: 4 kB / 1.496 GB, free: 2.121 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5322, allocations: 155.7 kB / 1.496 GB, free: 1.969 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.5339, allocations: 370.4 kB / 1.496 GB, free: 1.613 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/0.5398, allocations: 4.417 MB / 1.501 GB, free: 12.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5402, allocations: 288.8 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005094/0.5407, allocations: 132.7 kB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.5409, allocations: 167.4 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/0.5409, allocations: 0 / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/0.5934, allocations: 17.38 MB / 1.518 GB, free: 11.43 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.58, allocations: 17.42 kB / 1.518 GB, free: 11.42 MB / 1.217 GB " [Timeout remaining time 288] (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: 17.9707960607484]