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.001786/0.001786, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.00169/0.00169, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.845/2.845, allocations: 476.7 MB / 0.7672 GB, free: 5.223 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.002757/0.002757, allocations: 64.17 kB / 1.112 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8116, allocations: 169.9 MB / 1.278 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2215/1.033, allocations: 174.5 MB / 1.449 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007069/1.04, allocations: 4.318 MB / 1.453 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/1.041, allocations: 31.75 kB / 1.453 GB, free: 10.03 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/1.042, allocations: 373.9 kB / 1.453 GB, free: 9.664 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003548/1.046, allocations: 1.264 MB / 1.455 GB, free: 8.395 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/1.048, allocations: 0.8016 MB / 1.455 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002656/1.051, allocations: 1.699 MB / 1.457 GB, free: 5.891 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009579/1.052, allocations: 483.6 kB / 1.457 GB, free: 5.418 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/1.053, allocations: 0.7278 MB / 1.458 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/1.055, allocations: 0.5885 MB / 1.459 GB, free: 4.102 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/1.055, allocations: 64 kB / 1.459 GB, free: 4.039 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/1.057, allocations: 0.8418 MB / 1.46 GB, free: 3.195 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/1.058, allocations: 283.1 kB / 1.46 GB, free: 2.918 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007455/1.058, allocations: 406.3 kB / 1.46 GB, free: 2.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/1.061, allocations: 1.269 MB / 1.461 GB, free: 1.246 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.061, allocations: 4 kB / 1.461 GB, free: 1.242 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.12e-07/1.061, allocations: 0 / 1.461 GB, free: 1.242 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.151e-05/1.061, allocations: 4 kB / 1.462 GB, free: 1.238 MB / 1.154 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.002445/1.063, allocations: 1.059 MB / 1.463 GB, free: 128 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.063, allocations: 12.03 kB / 1.463 GB, free: 116 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/1.063, allocations: 98.52 kB / 1.463 GB, free: 8 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/1.065, allocations: 159.4 kB / 1.463 GB, free: 15.85 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.066, allocations: 0.5487 MB / 1.463 GB, free: 15.26 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/1.066, allocations: 45.25 kB / 1.463 GB, free: 15.22 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/1.066, allocations: 52 kB / 1.463 GB, free: 15.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.067, allocations: 0.6518 MB / 1.464 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/1.067, allocations: 0 / 1.464 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/1.067, allocations: 20 kB / 1.464 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/1.067, allocations: 21.31 kB / 1.464 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.068, allocations: 0.5204 MB / 1.465 GB, free: 13.94 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.00416/1.072, allocations: 2.298 MB / 1.467 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/1.073, allocations: 236.7 kB / 1.467 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/1.073, allocations: 128.7 kB / 1.467 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/1.073, allocations: 11.92 kB / 1.467 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.073, allocations: 42.56 kB / 1.467 GB, free: 11.05 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/1.073, allocations: 0 / 1.467 GB, free: 11.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.001922/1.075, allocations: 0.6769 MB / 1.468 GB, free: 10.32 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/1.075, allocations: 81.11 kB / 1.468 GB, free: 10.22 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/1.076, allocations: 0.5536 MB / 1.469 GB, free: 9.66 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/1.076, allocations: 29.7 kB / 1.469 GB, free: 9.625 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/1.076, allocations: 339.8 kB / 1.469 GB, free: 9.289 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/1.077, allocations: 75.38 kB / 1.469 GB, free: 9.215 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.077, allocations: 65.98 kB / 1.469 GB, free: 9.145 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.077, allocations: 370.7 kB / 1.469 GB, free: 8.773 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/1.077, allocations: 128.6 kB / 1.469 GB, free: 8.648 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/1.078, allocations: 218.5 kB / 1.47 GB, free: 8.402 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/1.078, allocations: 340.8 kB / 1.47 GB, free: 8.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.078, allocations: 4 kB / 1.47 GB, free: 8.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001084/1.079, allocations: 494.9 kB / 1.471 GB, free: 7.539 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.079, allocations: 4 kB / 1.471 GB, free: 7.535 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.079, allocations: 4 kB / 1.471 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/1.08, allocations: 105.6 kB / 1.471 GB, free: 7.422 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/1.08, allocations: 67.91 kB / 1.471 GB, free: 7.355 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/1.084, allocations: 3.348 MB / 1.474 GB, free: 3.723 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/1.084, allocations: 47.62 kB / 1.474 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/1.084, allocations: 12 kB / 1.474 GB, free: 3.664 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.0003579/1.085, allocations: 217.7 kB / 1.474 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.085, allocations: 67.72 kB / 1.474 GB, free: 3.375 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/1.085, allocations: 48.52 kB / 1.474 GB, free: 3.328 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.085, allocations: 4 kB / 1.474 GB, free: 3.324 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.085, allocations: 3.938 kB / 1.474 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009408/1.086, allocations: 0.5289 MB / 1.475 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/1.088, allocations: 0.9165 MB / 1.476 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.088, allocations: 3.984 kB / 1.476 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/1.088, allocations: 35.98 kB / 1.476 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/1.088, allocations: 76.78 kB / 1.476 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/1.088, allocations: 8 kB / 1.476 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/1.091, allocations: 1.821 MB / 1.478 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.091, allocations: 4.031 kB / 1.478 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/1.092, allocations: 437.6 kB / 1.478 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/1.092, allocations: 168.7 kB / 1.478 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.093, allocations: 7.938 kB / 1.478 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.093, allocations: 23.97 kB / 1.478 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.093, allocations: 19.92 kB / 1.478 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/1.093, allocations: 19.92 kB / 1.478 GB, free: 14.94 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006119/1.094, allocations: 402.8 kB / 1.479 GB, free: 14.55 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.094, allocations: 4 kB / 1.479 GB, free: 14.55 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008158/1.095, allocations: 199.8 kB / 1.479 GB, free: 14.35 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.001379/1.096, allocations: 1.021 MB / 1.48 GB, free: 13.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001229/1.097, allocations: 0.5285 MB / 1.48 GB, free: 12.74 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.097, allocations: 4 kB / 1.48 GB, free: 12.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/1.098, allocations: 255.2 kB / 1.481 GB, free: 12.48 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.1, allocations: 361.8 kB / 1.481 GB, free: 12.13 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/1.107, allocations: 4.47 MB / 1.485 GB, free: 7.5 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/1.108, allocations: 0.9054 MB / 1.486 GB, free: 6.566 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006071/1.109, allocations: 112.8 kB / 1.486 GB, free: 6.453 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/1.109, allocations: 191.4 kB / 1.487 GB, free: 6.266 MB / 1.186 GB Notification: Performance of SimCode: time 8.11e-07/1.109, allocations: 0 / 1.487 GB, free: 6.266 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06252/1.171, allocations: 17.88 MB / 1.504 GB, free: 4.758 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.21, allocations: 8.047 kB / 1.504 GB, free: 4.75 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.518326674820855]