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.001449/0.001449, 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.00166/0.00166, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.805 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.441/3.441, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002221/0.002221, allocations: 66.28 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4236, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2224/0.6459, allocations: 151 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008209/0.6541, allocations: 4.029 MB / 1.477 GB, free: 6.301 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.6551, allocations: 31.75 kB / 1.477 GB, free: 6.27 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.6563, allocations: 330 kB / 1.477 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.6601, allocations: 1.283 MB / 1.478 GB, free: 4.656 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.6626, allocations: 0.8126 MB / 1.479 GB, free: 3.848 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002863/0.6654, allocations: 1.726 MB / 1.481 GB, free: 2.109 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007748/0.6662, allocations: 444.3 kB / 1.481 GB, free: 1.672 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.668, allocations: 0.7901 MB / 1.482 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.6695, allocations: 0.5523 MB / 1.483 GB, free: 336 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.6696, allocations: 64 kB / 1.483 GB, free: 272 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.6712, allocations: 0.6701 MB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.6716, allocations: 283.2 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.672, allocations: 334.7 kB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.674, allocations: 1.261 MB / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.674, allocations: 0 / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.984e-06/0.674, allocations: 0 / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.6741, allocations: 0 / 1.485 GB, free: 13.72 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.002233/0.6763, allocations: 0.9757 MB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6763, allocations: 12.03 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.6774, allocations: 167.4 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.6784, allocations: 494.7 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.6785, allocations: 37.31 kB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.6786, allocations: 56 kB / 1.487 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6802, allocations: 0.9993 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6802, allocations: 0 / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.6803, allocations: 27.98 kB / 1.488 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.6804, allocations: 37.11 kB / 1.488 GB, free: 10.78 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6814, allocations: 0.5126 MB / 1.488 GB, free: 10.26 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.00339/0.6848, allocations: 1.543 MB / 1.49 GB, free: 8.676 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.6853, allocations: 246.8 kB / 1.49 GB, free: 8.426 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.6856, allocations: 125.8 kB / 1.49 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.6856, allocations: 4 kB / 1.49 GB, free: 8.297 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.6857, allocations: 42.45 kB / 1.49 GB, free: 8.246 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.6857, allocations: 0 / 1.49 GB, free: 8.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001756/0.6874, allocations: 0.5054 MB / 1.491 GB, free: 7.73 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.6875, allocations: 81.11 kB / 1.491 GB, free: 7.633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.6882, allocations: 445.8 kB / 1.491 GB, free: 7.188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.6882, allocations: 29.7 kB / 1.491 GB, free: 7.152 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.6885, allocations: 347.7 kB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.6886, allocations: 83.3 kB / 1.492 GB, free: 6.727 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.6887, allocations: 69.98 kB / 1.492 GB, free: 6.652 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002344/0.6889, allocations: 350.7 kB / 1.492 GB, free: 6.301 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.6892, allocations: 136.6 kB / 1.492 GB, free: 6.168 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.6897, allocations: 248.2 kB / 1.493 GB, free: 5.887 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.6903, allocations: 332.9 kB / 1.493 GB, free: 5.531 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6903, allocations: 0 / 1.493 GB, free: 5.531 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001057/0.6913, allocations: 491 kB / 1.493 GB, free: 5.039 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.6914, allocations: 8 kB / 1.493 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6914, allocations: 0 / 1.493 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.6917, allocations: 97.58 kB / 1.493 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.6921, allocations: 71.91 kB / 1.493 GB, free: 4.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.6958, allocations: 3.075 MB / 1.496 GB, free: 1.582 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.6963, allocations: 35.77 kB / 1.497 GB, free: 1.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.6963, allocations: 16.19 kB / 1.497 GB, free: 1.531 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.0004578/0.6968, allocations: 228.3 kB / 1.497 GB, free: 1.301 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6969, allocations: 43.72 kB / 1.497 GB, free: 1.258 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.697, allocations: 43.69 kB / 1.497 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.697, allocations: 4 kB / 1.497 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.697, allocations: 0 / 1.497 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009665/0.698, allocations: 0.5344 MB / 1.497 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.6994, allocations: 0.7523 MB / 1.498 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6994, allocations: 0 / 1.498 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.6996, allocations: 47.91 kB / 1.498 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.6998, allocations: 68.8 kB / 1.498 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.6998, allocations: 8 kB / 1.498 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.7019, allocations: 1.687 MB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7019, allocations: 3.984 kB / 1.5 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.7027, allocations: 419.2 kB / 1.5 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.7029, allocations: 83.67 kB / 1.5 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.703, allocations: 11.94 kB / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.7034, allocations: 23.3 kB / 1.5 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.7035, allocations: 19.97 kB / 1.5 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.7035, allocations: 15.98 kB / 1.5 GB, free: 13.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004054/0.7039, allocations: 303.1 kB / 1.501 GB, free: 13.01 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7039, allocations: 0 / 1.501 GB, free: 13.01 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007992/0.7047, allocations: 223.5 kB / 1.501 GB, free: 12.79 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.0003296/0.7051, allocations: 148 kB / 1.501 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.7062, allocations: 0.5321 MB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7062, allocations: 0 / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.7066, allocations: 255.1 kB / 1.502 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7079, allocations: 260.7 kB / 1.502 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.7097, allocations: 0.9822 MB / 1.503 GB, free: 10.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.7102, allocations: 306.2 kB / 1.503 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003545/0.7105, allocations: 104 kB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.7106, allocations: 35.44 kB / 1.503 GB, free: 10.09 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/0.7106, allocations: 0 / 1.503 GB, free: 10.09 MB / 1.201 GB Notification: Performance of Templates: time 0.0218/0.7324, allocations: 11.58 MB / 1.515 GB, free: 14.77 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.299797791987658]