Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001453/0.001453, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001616/0.001616, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] 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.96/2.96, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001941/0.001941, allocations: 66.27 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2941, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1683/0.4624, allocations: 151 MB / 1.511 GB, free: 6.609 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.4687, allocations: 4.033 MB / 1.515 GB, free: 2.566 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.4693, allocations: 31.75 kB / 1.515 GB, free: 2.535 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009559/0.4703, allocations: 330 kB / 1.515 GB, free: 2.211 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.4731, allocations: 1.287 MB / 1.516 GB, free: 0.918 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.475, allocations: 0.8086 MB / 1.517 GB, free: 116 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.4771, allocations: 1.719 MB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.4778, allocations: 444.3 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.4792, allocations: 0.7901 MB / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.4805, allocations: 0.5677 MB / 1.521 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.4806, allocations: 64 kB / 1.521 GB, free: 12.53 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.4819, allocations: 0.6662 MB / 1.521 GB, free: 11.86 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.4823, allocations: 287.2 kB / 1.522 GB, free: 11.58 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.4827, allocations: 338.6 kB / 1.522 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.4843, allocations: 1.254 MB / 1.523 GB, free: 9.988 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4843, allocations: 3.938 kB / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4843, allocations: 0 / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.4844, allocations: 0 / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00166/0.486, allocations: 0.9718 MB / 1.524 GB, free: 8.977 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.486, allocations: 8.031 kB / 1.524 GB, free: 8.969 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.4862, allocations: 110.5 kB / 1.524 GB, free: 8.852 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.4871, allocations: 159.5 kB / 1.524 GB, free: 8.695 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008256/0.4879, allocations: 490.7 kB / 1.525 GB, free: 8.195 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4879, allocations: 37.31 kB / 1.525 GB, free: 8.16 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.488, allocations: 56 kB / 1.525 GB, free: 8.105 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.4892, allocations: 1.001 MB / 1.526 GB, free: 7.004 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4892, allocations: 4 kB / 1.526 GB, free: 7 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.4893, allocations: 24 kB / 1.526 GB, free: 6.977 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.4893, allocations: 25.31 kB / 1.526 GB, free: 6.949 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.4902, allocations: 0.5086 MB / 1.526 GB, free: 6.441 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.4931, allocations: 1.675 MB / 1.528 GB, free: 4.711 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.4936, allocations: 234.8 kB / 1.528 GB, free: 4.473 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4939, allocations: 126.6 kB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4939, allocations: 4 kB / 1.528 GB, free: 4.344 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4939, allocations: 42.5 kB / 1.528 GB, free: 4.293 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.4939, allocations: 0 / 1.528 GB, free: 4.293 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.0015/0.4954, allocations: 0.5185 MB / 1.529 GB, free: 3.762 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4955, allocations: 77.11 kB / 1.529 GB, free: 3.668 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/0.4961, allocations: 0.5652 MB / 1.53 GB, free: 3.094 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.4962, allocations: 33.7 kB / 1.53 GB, free: 3.055 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.4964, allocations: 343.7 kB / 1.53 GB, free: 2.715 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.4965, allocations: 75.36 kB / 1.53 GB, free: 2.641 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4966, allocations: 65.98 kB / 1.53 GB, free: 2.57 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4968, allocations: 370.7 kB / 1.53 GB, free: 2.199 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.497, allocations: 128.6 kB / 1.531 GB, free: 2.074 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.4973, allocations: 244.3 kB / 1.531 GB, free: 1.797 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.4979, allocations: 332.4 kB / 1.531 GB, free: 1.441 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4979, allocations: 0 / 1.531 GB, free: 1.441 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008858/0.4987, allocations: 499.1 kB / 1.532 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4988, allocations: 8 kB / 1.532 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4988, allocations: 3.938 kB / 1.532 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.4991, allocations: 97.92 kB / 1.532 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4994, allocations: 71.91 kB / 1.532 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.5024, allocations: 3.123 MB / 1.535 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.5029, allocations: 51.61 kB / 1.535 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.5029, allocations: 12 kB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.5032, allocations: 217.7 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5033, allocations: 59.61 kB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.5034, allocations: 56.44 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5034, allocations: 4 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5034, allocations: 7.938 kB / 1.535 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007231/0.5041, allocations: 0.5292 MB / 1.536 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5054, allocations: 0.8159 MB / 1.536 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5054, allocations: 4 kB / 1.536 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.5056, allocations: 44.03 kB / 1.537 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.5058, allocations: 60.81 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5058, allocations: 4.188 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.5075, allocations: 1.717 MB / 1.538 GB, free: 9.574 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5075, allocations: 4.062 kB / 1.538 GB, free: 9.57 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.5081, allocations: 437.6 kB / 1.539 GB, free: 9.117 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.5084, allocations: 91.62 kB / 1.539 GB, free: 9.027 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.5084, allocations: 7.922 kB / 1.539 GB, free: 9.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.5089, allocations: 20.73 kB / 1.539 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.5089, allocations: 19.97 kB / 1.539 GB, free: 8.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.509, allocations: 15.98 kB / 1.539 GB, free: 8.965 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004591/0.5094, allocations: 402.8 kB / 1.539 GB, free: 8.574 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5094, allocations: 0 / 1.539 GB, free: 8.574 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005854/0.51, allocations: 207.7 kB / 1.539 GB, free: 8.371 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.5111, allocations: 1.017 MB / 1.54 GB, free: 7.316 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008671/0.5119, allocations: 0.5209 MB / 1.541 GB, free: 6.77 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5119, allocations: 4 kB / 1.541 GB, free: 6.766 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.5123, allocations: 240.6 kB / 1.541 GB, free: 6.52 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.5139, allocations: 383.6 kB / 1.542 GB, free: 6.156 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.52, allocations: 4.479 MB / 1.546 GB, free: 1.512 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5203, allocations: 310.7 kB / 1.546 GB, free: 1.18 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004017/0.5207, allocations: 120.8 kB / 1.546 GB, free: 1.059 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.5209, allocations: 191.4 kB / 1.546 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of SimCode: time 4.3e-07/0.5209, allocations: 0 / 1.546 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0543/0.5752, allocations: 19.51 MB / 1.566 GB, free: 13.83 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.01, allocations: 11.44 kB / 1.566 GB, free: 13.82 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.146557847969234]