Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001256/0.001256, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001408/0.001408, allocations: 216.7 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.816 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.041/3.041, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_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.001951/0.001951, allocations: 70.7 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1752/0.5186, allocations: 151 MB / 1.473 GB, free: 9.992 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006331/0.5249, allocations: 4.03 MB / 1.477 GB, free: 5.953 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007677/0.5257, allocations: 31.75 kB / 1.477 GB, free: 5.922 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5267, allocations: 326 kB / 1.478 GB, free: 5.602 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.5298, allocations: 1.287 MB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.5318, allocations: 0.8208 MB / 1.48 GB, free: 3.492 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.534, allocations: 1.73 MB / 1.481 GB, free: 1.754 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.5346, allocations: 452.3 kB / 1.482 GB, free: 1.309 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.5359, allocations: 0.7862 MB / 1.482 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.537, allocations: 0.5841 MB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.5371, allocations: 67.94 kB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.5384, allocations: 0.6741 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.5387, allocations: 279.2 kB / 1.484 GB, free: 14.92 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.5391, allocations: 342.6 kB / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.5406, allocations: 1.258 MB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5406, allocations: 0 / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5406, allocations: 0 / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5406, allocations: 0 / 1.486 GB, free: 13.32 MB / 1.186 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.001624/0.5422, allocations: 0.9796 MB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5422, allocations: 12.03 kB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.5424, allocations: 102.5 kB / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/0.5433, allocations: 163.4 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.5441, allocations: 494.7 kB / 1.487 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.5442, allocations: 45.31 kB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.5442, allocations: 48 kB / 1.487 GB, free: 11.43 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5454, allocations: 0.9994 MB / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5454, allocations: 7.875 kB / 1.488 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.5455, allocations: 28 kB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.5455, allocations: 21.31 kB / 1.488 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.5464, allocations: 0.5048 MB / 1.489 GB, free: 9.762 MB / 1.186 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.002914/0.5493, allocations: 1.667 MB / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.5498, allocations: 238.8 kB / 1.491 GB, free: 7.793 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.55, allocations: 128.7 kB / 1.491 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.5501, allocations: 4.344 kB / 1.491 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.5501, allocations: 38.56 kB / 1.491 GB, free: 7.613 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.5501, allocations: 4 kB / 1.491 GB, free: 7.609 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001518/0.5516, allocations: 0.5159 MB / 1.491 GB, free: 7.082 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.5517, allocations: 81.11 kB / 1.492 GB, free: 6.984 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.5523, allocations: 0.5574 MB / 1.492 GB, free: 6.418 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5524, allocations: 37.7 kB / 1.492 GB, free: 6.375 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.5526, allocations: 339.7 kB / 1.492 GB, free: 6.039 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.5527, allocations: 83.31 kB / 1.492 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5528, allocations: 69.98 kB / 1.493 GB, free: 5.883 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.553, allocations: 362.7 kB / 1.493 GB, free: 5.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.5533, allocations: 132.5 kB / 1.493 GB, free: 5.391 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.5536, allocations: 248.3 kB / 1.493 GB, free: 5.109 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.5541, allocations: 332.9 kB / 1.494 GB, free: 4.754 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5541, allocations: 0 / 1.494 GB, free: 4.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008836/0.555, allocations: 498.6 kB / 1.494 GB, free: 4.254 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.555, allocations: 11.94 kB / 1.494 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.555, allocations: 4 kB / 1.494 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.5553, allocations: 93.92 kB / 1.494 GB, free: 4.141 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.5556, allocations: 71.91 kB / 1.494 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.5587, allocations: 3.121 MB / 1.497 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.5591, allocations: 55.61 kB / 1.497 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.5592, allocations: 12 kB / 1.497 GB, free: 0.6602 MB / 1.186 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.0002876/0.5595, allocations: 215.5 kB / 1.498 GB, free: 452 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.5596, allocations: 59.62 kB / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.5597, allocations: 52.44 kB / 1.498 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5597, allocations: 12 kB / 1.498 GB, free: 324 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5597, allocations: 3.938 kB / 1.498 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007167/0.5604, allocations: 0.5277 MB / 1.498 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.5616, allocations: 0.8219 MB / 1.499 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5616, allocations: 4.062 kB / 1.499 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.5618, allocations: 43.91 kB / 1.499 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.562, allocations: 64.81 kB / 1.499 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.562, allocations: 4 kB / 1.499 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.5637, allocations: 1.706 MB / 1.501 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5637, allocations: 0 / 1.501 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.5644, allocations: 439 kB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.5646, allocations: 95.58 kB / 1.501 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.5647, allocations: 15.92 kB / 1.501 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.5651, allocations: 22.41 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.5651, allocations: 15.97 kB / 1.501 GB, free: 12.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.5652, allocations: 20.05 kB / 1.501 GB, free: 12.28 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004738/0.5657, allocations: 402.8 kB / 1.502 GB, free: 11.89 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5657, allocations: 0 / 1.502 GB, free: 11.89 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006532/0.5663, allocations: 199.7 kB / 1.502 GB, free: 11.7 MB / 1.201 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.001079/0.5674, allocations: 1.017 MB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008489/0.5682, allocations: 0.5322 MB / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5682, allocations: 0 / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.5686, allocations: 250.4 kB / 1.504 GB, free: 9.824 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.5702, allocations: 374.2 kB / 1.504 GB, free: 9.469 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.5761, allocations: 4.457 MB / 1.508 GB, free: 4.844 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5764, allocations: 310.7 kB / 1.509 GB, free: 4.512 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004251/0.5768, allocations: 120.8 kB / 1.509 GB, free: 4.391 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.5771, allocations: 187.4 kB / 1.509 GB, free: 4.207 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.5771, allocations: 7.938 kB / 1.509 GB, free: 4.199 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0546/0.6317, allocations: 19.65 MB / 1.528 GB, free: 1.039 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.77, allocations: 4.062 kB / 1.528 GB, free: 1.035 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.220716198004084]