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.001318/0.001318, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001528/0.001528, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.797 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.835/2.835, allocations: 476 MB / 0.7699 GB, free: 4.77 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: 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.002163/0.002163, allocations: 68.58 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3066, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.219/0.5256, allocations: 150.9 MB / 1.43 GB, free: 4.5 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007799/0.5334, allocations: 4.029 MB / 1.434 GB, free: 472 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5347, allocations: 31.81 kB / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.5364, allocations: 338 kB / 1.435 GB, free: 100 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.542, allocations: 1.276 MB / 1.436 GB, free: 14.81 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.5453, allocations: 0.813 MB / 1.437 GB, free: 14 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003338/0.5486, allocations: 1.722 MB / 1.438 GB, free: 12.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.5498, allocations: 444.3 kB / 1.439 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.552, allocations: 0.7355 MB / 1.44 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.5543, allocations: 0.5648 MB / 1.44 GB, free: 10.54 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.5546, allocations: 64 kB / 1.44 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.5569, allocations: 0.674 MB / 1.441 GB, free: 9.805 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.5573, allocations: 283.1 kB / 1.441 GB, free: 9.527 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.5584, allocations: 342.7 kB / 1.441 GB, free: 9.191 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.5615, allocations: 1.25 MB / 1.443 GB, free: 7.938 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5615, allocations: 4 kB / 1.443 GB, free: 7.934 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5615, allocations: 0 / 1.443 GB, free: 7.934 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.846e-05/0.5615, allocations: 0 / 1.443 GB, free: 7.934 MB / 1.139 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.00316/0.5647, allocations: 0.9835 MB / 1.444 GB, free: 6.914 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5647, allocations: 8.031 kB / 1.444 GB, free: 6.906 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.5666, allocations: 163.4 kB / 1.444 GB, free: 6.746 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.5681, allocations: 490.7 kB / 1.444 GB, free: 6.242 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.5681, allocations: 37.31 kB / 1.444 GB, free: 6.207 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.5683, allocations: 52 kB / 1.444 GB, free: 6.156 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.5703, allocations: 0.9994 MB / 1.445 GB, free: 5.055 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.5703, allocations: 0 / 1.445 GB, free: 5.055 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5704, allocations: 27.98 kB / 1.445 GB, free: 5.027 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/0.5705, allocations: 29.25 kB / 1.445 GB, free: 4.996 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.5719, allocations: 0.5048 MB / 1.446 GB, free: 4.492 MB / 1.139 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.004197/0.5761, allocations: 1.559 MB / 1.447 GB, free: 2.891 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.5767, allocations: 238.8 kB / 1.448 GB, free: 2.648 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.577, allocations: 124.8 kB / 1.448 GB, free: 2.523 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.577, allocations: 7.938 kB / 1.448 GB, free: 2.516 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.5771, allocations: 46.44 kB / 1.448 GB, free: 2.461 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.5771, allocations: 0 / 1.448 GB, free: 2.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001831/0.5789, allocations: 0.5123 MB / 1.448 GB, free: 1.938 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.579, allocations: 77.11 kB / 1.448 GB, free: 1.844 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.5795, allocations: 441.8 kB / 1.449 GB, free: 1.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.5795, allocations: 33.7 kB / 1.449 GB, free: 1.371 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.5798, allocations: 355.7 kB / 1.449 GB, free: 1.02 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.5799, allocations: 67.38 kB / 1.449 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.58, allocations: 77.92 kB / 1.449 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5802, allocations: 350.7 kB / 1.45 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.5805, allocations: 128.6 kB / 1.45 GB, free: 404 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.5808, allocations: 252.2 kB / 1.45 GB, free: 112 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.5814, allocations: 326 kB / 1.45 GB, free: 15.76 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5814, allocations: 4 kB / 1.45 GB, free: 15.76 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009878/0.5824, allocations: 490.7 kB / 1.451 GB, free: 15.27 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5824, allocations: 4.281 kB / 1.451 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5824, allocations: 8 kB / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.5828, allocations: 89.64 kB / 1.451 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.5831, allocations: 71.91 kB / 1.451 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.5867, allocations: 3.079 MB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.5872, allocations: 31.78 kB / 1.454 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.5872, allocations: 12 kB / 1.454 GB, free: 11.76 MB / 1.154 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.0003685/0.5876, allocations: 221.8 kB / 1.454 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5877, allocations: 51.7 kB / 1.454 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.5878, allocations: 47.69 kB / 1.454 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5878, allocations: 0 / 1.454 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5878, allocations: 0 / 1.454 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008037/0.5886, allocations: 0.5327 MB / 1.455 GB, free: 10.83 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.5899, allocations: 0.7604 MB / 1.456 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5899, allocations: 0 / 1.456 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.5901, allocations: 51.84 kB / 1.456 GB, free: 9.977 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.5903, allocations: 64.75 kB / 1.456 GB, free: 9.91 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.5904, allocations: 7.984 kB / 1.456 GB, free: 9.902 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.5923, allocations: 1.683 MB / 1.457 GB, free: 8.117 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5923, allocations: 0 / 1.457 GB, free: 8.117 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.593, allocations: 425.7 kB / 1.458 GB, free: 7.676 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.5932, allocations: 83.66 kB / 1.458 GB, free: 7.594 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.5933, allocations: 7.938 kB / 1.458 GB, free: 7.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.5937, allocations: 24.05 kB / 1.458 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.5938, allocations: 19.95 kB / 1.458 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.5939, allocations: 12 kB / 1.458 GB, free: 7.531 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004051/0.5943, allocations: 311 kB / 1.458 GB, free: 7.23 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5943, allocations: 4 kB / 1.458 GB, free: 7.227 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007583/0.595, allocations: 211.6 kB / 1.458 GB, free: 7.02 MB / 1.154 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.0002913/0.5953, allocations: 150.9 kB / 1.458 GB, free: 6.863 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009791/0.5963, allocations: 0.5204 MB / 1.459 GB, free: 6.316 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.5963, allocations: 8 kB / 1.459 GB, free: 6.309 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.5967, allocations: 246.5 kB / 1.459 GB, free: 6.055 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.5981, allocations: 280.8 kB / 1.459 GB, free: 5.793 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5999, allocations: 0.976 MB / 1.46 GB, free: 4.781 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.6002, allocations: 310.2 kB / 1.461 GB, free: 4.453 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003393/0.6006, allocations: 96.08 kB / 1.461 GB, free: 4.355 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.6007, allocations: 35.42 kB / 1.461 GB, free: 4.32 MB / 1.154 GB Notification: Performance of SimCode: time 8.01e-07/0.6007, allocations: 4 kB / 1.461 GB, free: 4.316 MB / 1.154 GB Notification: Performance of Templates: time 0.02163/0.6223, allocations: 11.58 MB / 1.472 GB, free: 9 MB / 1.17 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.429058872163296]