Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001738/0.001738, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002277/0.002277, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.649/2.649, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_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.00193/0.00193, allocations: 67.89 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 170 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1999/0.5012, allocations: 174.7 MB / 1.454 GB, free: 12.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007327/0.5086, allocations: 4.334 MB / 1.458 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009882/0.5096, allocations: 31.75 kB / 1.458 GB, free: 7.793 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.5108, allocations: 377.9 kB / 1.459 GB, free: 7.422 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.5141, allocations: 1.28 MB / 1.46 GB, free: 6.137 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.5164, allocations: 0.8312 MB / 1.461 GB, free: 5.309 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.5191, allocations: 1.732 MB / 1.462 GB, free: 3.574 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/0.5199, allocations: 444.3 kB / 1.463 GB, free: 3.137 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.5215, allocations: 0.7317 MB / 1.464 GB, free: 2.402 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.523, allocations: 0.586 MB / 1.464 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.5232, allocations: 64 kB / 1.464 GB, free: 1.754 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.5251, allocations: 0.8651 MB / 1.465 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.5254, allocations: 279.2 kB / 1.465 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.526, allocations: 410.3 kB / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.5281, allocations: 1.265 MB / 1.467 GB, free: 14.94 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5281, allocations: 3.938 kB / 1.467 GB, free: 14.94 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5281, allocations: 0 / 1.467 GB, free: 14.94 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.5281, allocations: 11.92 kB / 1.467 GB, free: 14.93 MB / 1.17 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.001979/0.5301, allocations: 0.968 MB / 1.468 GB, free: 13.92 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5301, allocations: 15.97 kB / 1.468 GB, free: 13.91 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.5303, allocations: 98.52 kB / 1.468 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.5313, allocations: 171.4 kB / 1.468 GB, free: 13.63 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.5322, allocations: 486.7 kB / 1.469 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.5323, allocations: 45.31 kB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.5323, allocations: 52 kB / 1.469 GB, free: 13.04 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.5335, allocations: 0.6518 MB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5335, allocations: 0 / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.5335, allocations: 24 kB / 1.469 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.5336, allocations: 21.31 kB / 1.469 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009671/0.5345, allocations: 0.5165 MB / 1.47 GB, free: 11.81 MB / 1.17 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.003622/0.5382, allocations: 2.254 MB / 1.472 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.5387, allocations: 242.8 kB / 1.472 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.5389, allocations: 132.7 kB / 1.472 GB, free: 9.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.539, allocations: 8.344 kB / 1.472 GB, free: 9.012 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.539, allocations: 38.56 kB / 1.472 GB, free: 8.965 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.539, allocations: 0 / 1.472 GB, free: 8.965 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.001681/0.5407, allocations: 0.5202 MB / 1.473 GB, free: 8.434 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.5408, allocations: 81.05 kB / 1.473 GB, free: 8.336 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.5415, allocations: 0.5536 MB / 1.474 GB, free: 7.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.5415, allocations: 37.64 kB / 1.474 GB, free: 7.73 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.5418, allocations: 339.8 kB / 1.474 GB, free: 7.395 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.5419, allocations: 79.33 kB / 1.474 GB, free: 7.316 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.542, allocations: 69.98 kB / 1.474 GB, free: 7.242 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5422, allocations: 362.7 kB / 1.474 GB, free: 6.879 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.5425, allocations: 132.6 kB / 1.475 GB, free: 6.75 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.5428, allocations: 214.6 kB / 1.475 GB, free: 6.508 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.5434, allocations: 340.9 kB / 1.475 GB, free: 6.145 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5434, allocations: 0 / 1.475 GB, free: 6.145 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009745/0.5444, allocations: 0.4911 MB / 1.476 GB, free: 5.641 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5444, allocations: 8 kB / 1.476 GB, free: 5.633 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5444, allocations: 4 kB / 1.476 GB, free: 5.629 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.5448, allocations: 85.66 kB / 1.476 GB, free: 5.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.5451, allocations: 79.89 kB / 1.476 GB, free: 5.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.5484, allocations: 3.129 MB / 1.479 GB, free: 2.105 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.5489, allocations: 51.61 kB / 1.479 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.5489, allocations: 12 kB / 1.479 GB, free: 2.043 MB / 1.17 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.0003301/0.5493, allocations: 209.7 kB / 1.479 GB, free: 1.828 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5494, allocations: 59.73 kB / 1.479 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.5495, allocations: 68.36 kB / 1.479 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5495, allocations: 0 / 1.479 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5495, allocations: 7.938 kB / 1.479 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007672/0.5503, allocations: 0.5267 MB / 1.48 GB, free: 1.09 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.5516, allocations: 0.888 MB / 1.481 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5516, allocations: 3.938 kB / 1.481 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.5518, allocations: 39.97 kB / 1.481 GB, free: 104 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.552, allocations: 64.81 kB / 1.481 GB, free: 36 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.552, allocations: 8.062 kB / 1.481 GB, free: 28 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.5538, allocations: 1.725 MB / 1.482 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5538, allocations: 0 / 1.482 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/0.5545, allocations: 444 kB / 1.483 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.5548, allocations: 103.4 kB / 1.483 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.5549, allocations: 11.94 kB / 1.483 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.5553, allocations: 15.98 kB / 1.483 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.5553, allocations: 19.97 kB / 1.483 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.5554, allocations: 11.98 kB / 1.483 GB, free: 13.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004938/0.5559, allocations: 402.8 kB / 1.483 GB, free: 13.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5559, allocations: 0 / 1.483 GB, free: 13.18 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006747/0.5566, allocations: 203.8 kB / 1.484 GB, free: 12.98 MB / 1.186 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.001206/0.5578, allocations: 1.014 MB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.5588, allocations: 0.5245 MB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5588, allocations: 0 / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.5592, allocations: 251.2 kB / 1.485 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.5608, allocations: 379 kB / 1.486 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.5676, allocations: 4.478 MB / 1.49 GB, free: 6.121 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5682, allocations: 0.9054 MB / 1.491 GB, free: 5.188 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004881/0.5687, allocations: 108.8 kB / 1.491 GB, free: 5.078 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.569, allocations: 199.3 kB / 1.491 GB, free: 4.883 MB / 1.186 GB Notification: Performance of SimCode: time 1.292e-06/0.569, allocations: 3.938 kB / 1.491 GB, free: 4.879 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05845/0.6274, allocations: 18.14 MB / 1.509 GB, free: 3.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.7, allocations: 4 kB / 1.509 GB, free: 3.086 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.142721968999467]