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.001719/0.001719, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.003414/0.003414, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 8.004 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.966/2.966, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [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.00211/0.00211, allocations: 64.67 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 170 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2281/0.6112, allocations: 174.7 MB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00789/0.6191, allocations: 4.332 MB / 1.459 GB, free: 7.496 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009533/0.62, allocations: 31.75 kB / 1.459 GB, free: 7.465 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.6212, allocations: 377.9 kB / 1.459 GB, free: 7.094 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.6247, allocations: 1.283 MB / 1.46 GB, free: 5.805 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.627, allocations: 0.8204 MB / 1.461 GB, free: 4.988 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.6295, allocations: 1.73 MB / 1.463 GB, free: 3.254 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.6302, allocations: 444.3 kB / 1.463 GB, free: 2.816 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.6316, allocations: 0.7356 MB / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.633, allocations: 0.5899 MB / 1.465 GB, free: 1.492 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6331, allocations: 71.94 kB / 1.465 GB, free: 1.422 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.635, allocations: 0.8573 MB / 1.465 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.6353, allocations: 283.1 kB / 1.466 GB, free: 292 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.6357, allocations: 406.3 kB / 1.466 GB, free: 15.88 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.6377, allocations: 1.273 MB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.6377, allocations: 4 kB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6377, allocations: 0 / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.6377, allocations: 0 / 1.467 GB, free: 14.61 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.001965/0.6397, allocations: 0.9796 MB / 1.468 GB, free: 13.59 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.6397, allocations: 8.031 kB / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.6407, allocations: 171.4 kB / 1.468 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/0.6416, allocations: 490.6 kB / 1.469 GB, free: 12.91 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.6417, allocations: 45.31 kB / 1.469 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.6418, allocations: 52 kB / 1.469 GB, free: 12.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.643, allocations: 0.6532 MB / 1.47 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.643, allocations: 0 / 1.47 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.643, allocations: 24 kB / 1.47 GB, free: 12.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.6431, allocations: 21.31 kB / 1.47 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.644, allocations: 0.5126 MB / 1.47 GB, free: 11.59 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.003552/0.6476, allocations: 2.25 MB / 1.472 GB, free: 9.184 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.6481, allocations: 238.8 kB / 1.473 GB, free: 8.941 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.6484, allocations: 128.8 kB / 1.473 GB, free: 8.812 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.6484, allocations: 12.27 kB / 1.473 GB, free: 8.801 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6484, allocations: 38.56 kB / 1.473 GB, free: 8.754 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.6484, allocations: 0 / 1.473 GB, free: 8.754 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.001635/0.6501, allocations: 0.5238 MB / 1.473 GB, free: 8.219 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.6501, allocations: 77.11 kB / 1.473 GB, free: 8.125 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.6508, allocations: 0.5574 MB / 1.474 GB, free: 7.559 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.6509, allocations: 33.7 kB / 1.474 GB, free: 7.52 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.6511, allocations: 339.8 kB / 1.474 GB, free: 7.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.6512, allocations: 75.38 kB / 1.474 GB, free: 7.109 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.6513, allocations: 69.98 kB / 1.474 GB, free: 7.035 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6515, allocations: 370.7 kB / 1.475 GB, free: 6.664 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.6518, allocations: 128.6 kB / 1.475 GB, free: 6.539 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.6521, allocations: 218.6 kB / 1.475 GB, free: 6.293 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.6527, allocations: 336.9 kB / 1.475 GB, free: 5.934 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6527, allocations: 0 / 1.475 GB, free: 5.934 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009402/0.6537, allocations: 498.8 kB / 1.476 GB, free: 5.434 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.6537, allocations: 11.98 kB / 1.476 GB, free: 5.422 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6537, allocations: 4 kB / 1.476 GB, free: 5.418 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.654, allocations: 89.66 kB / 1.476 GB, free: 5.324 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.6544, allocations: 79.91 kB / 1.476 GB, free: 5.246 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.6577, allocations: 3.137 MB / 1.479 GB, free: 1.883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.6582, allocations: 51.8 kB / 1.479 GB, free: 1.832 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.6582, allocations: 12 kB / 1.479 GB, free: 1.82 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.0003194/0.6586, allocations: 217.7 kB / 1.479 GB, free: 1.598 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6587, allocations: 63.67 kB / 1.479 GB, free: 1.535 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.6588, allocations: 56.44 kB / 1.48 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6588, allocations: 0 / 1.48 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6588, allocations: 7.938 kB / 1.48 GB, free: 1.465 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007691/0.6595, allocations: 0.5267 MB / 1.48 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.6609, allocations: 0.8822 MB / 1.481 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6609, allocations: 0 / 1.481 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.6611, allocations: 47.91 kB / 1.481 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.6613, allocations: 64.88 kB / 1.481 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.6613, allocations: 8 kB / 1.481 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.6631, allocations: 1.717 MB / 1.483 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6631, allocations: 0 / 1.483 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.6638, allocations: 448 kB / 1.483 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.664, allocations: 95.52 kB / 1.483 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.6641, allocations: 15.92 kB / 1.483 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.6645, allocations: 17.86 kB / 1.483 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.6646, allocations: 19.97 kB / 1.483 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.6647, allocations: 15.98 kB / 1.483 GB, free: 13.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000489/0.6652, allocations: 398.8 kB / 1.484 GB, free: 12.97 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6652, allocations: 4 kB / 1.484 GB, free: 12.96 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006812/0.6658, allocations: 199.8 kB / 1.484 GB, free: 12.77 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.0003019/0.6661, allocations: 150.9 kB / 1.484 GB, free: 12.61 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000984/0.6671, allocations: 0.5206 MB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6671, allocations: 4.562 kB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.6675, allocations: 250.5 kB / 1.485 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.6691, allocations: 372.6 kB / 1.485 GB, free: 11.45 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6709, allocations: 1.002 MB / 1.486 GB, free: 10.41 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.6714, allocations: 0.9132 MB / 1.487 GB, free: 9.469 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003638/0.6718, allocations: 108.8 kB / 1.487 GB, free: 9.363 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.6719, allocations: 35.44 kB / 1.487 GB, free: 9.328 MB / 1.186 GB Notification: Performance of SimCode: time 3.3e-07/0.6719, allocations: 0 / 1.487 GB, free: 9.328 MB / 1.186 GB Notification: Performance of Templates: time 0.02698/0.6989, allocations: 13.47 MB / 1.5 GB, free: 12.07 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.948327445890754]