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.001623/0.001623, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001908/0.001908, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.023 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.264/3.264, allocations: 0.4899 GB / 0.795 GB, free: 33.41 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.002019/0.002019, allocations: 64.97 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 176.1 MB / 1.326 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2112/0.5238, allocations: 174.8 MB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007094/0.5309, allocations: 4.336 MB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.5316, allocations: 27.75 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5327, allocations: 369.9 kB / 1.502 GB, free: 13.25 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.5358, allocations: 1.283 MB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.5379, allocations: 0.8312 MB / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.5404, allocations: 1.734 MB / 1.505 GB, free: 9.395 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/0.5411, allocations: 456.2 kB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.5426, allocations: 0.7824 MB / 1.507 GB, free: 8.16 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.5439, allocations: 0.5817 MB / 1.507 GB, free: 7.578 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.544, allocations: 64 kB / 1.507 GB, free: 7.516 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.5457, allocations: 0.8613 MB / 1.508 GB, free: 6.652 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.546, allocations: 279.2 kB / 1.508 GB, free: 6.379 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.5464, allocations: 410.2 kB / 1.509 GB, free: 5.977 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.5482, allocations: 1.273 MB / 1.51 GB, free: 4.699 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5482, allocations: 0 / 1.51 GB, free: 4.699 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5482, allocations: 0 / 1.51 GB, free: 4.699 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.5482, allocations: 0 / 1.51 GB, free: 4.699 MB / 1.201 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.001863/0.5501, allocations: 0.9835 MB / 1.511 GB, free: 3.68 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5501, allocations: 12.03 kB / 1.511 GB, free: 3.668 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.5512, allocations: 163.4 kB / 1.511 GB, free: 3.508 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.5521, allocations: 490.7 kB / 1.512 GB, free: 3.004 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.5521, allocations: 37.31 kB / 1.512 GB, free: 2.969 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.5522, allocations: 59.98 kB / 1.512 GB, free: 2.91 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5533, allocations: 0.6401 MB / 1.512 GB, free: 2.254 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5533, allocations: 4 kB / 1.512 GB, free: 2.25 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.5534, allocations: 24 kB / 1.512 GB, free: 2.227 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.5534, allocations: 29.3 kB / 1.512 GB, free: 2.195 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.5544, allocations: 0.5086 MB / 1.513 GB, free: 1.684 MB / 1.201 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.003474/0.5579, allocations: 2.25 MB / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.5585, allocations: 246.8 kB / 1.515 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.5587, allocations: 121.1 kB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.5588, allocations: 15.83 kB / 1.515 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.5588, allocations: 38.56 kB / 1.515 GB, free: 14.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.5588, allocations: 0 / 1.515 GB, free: 14.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001632/0.5604, allocations: 0.5195 MB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.5605, allocations: 81.11 kB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.5612, allocations: 0.5497 MB / 1.517 GB, free: 13.65 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.5612, allocations: 33.7 kB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.5615, allocations: 343.8 kB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.5616, allocations: 75.31 kB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.5617, allocations: 69.98 kB / 1.517 GB, free: 13.12 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5619, allocations: 366.7 kB / 1.517 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.5622, allocations: 132.6 kB / 1.518 GB, free: 12.62 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.5625, allocations: 222.5 kB / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.5631, allocations: 332.8 kB / 1.518 GB, free: 12.02 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5631, allocations: 0 / 1.518 GB, free: 12.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009606/0.564, allocations: 0.4909 MB / 1.519 GB, free: 11.52 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.564, allocations: 4 kB / 1.519 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5641, allocations: 12.22 kB / 1.519 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.5644, allocations: 93.64 kB / 1.519 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.5647, allocations: 75.84 kB / 1.519 GB, free: 11.33 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.568, allocations: 3.143 MB / 1.522 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.5685, allocations: 51.88 kB / 1.522 GB, free: 7.91 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.5685, allocations: 16 kB / 1.522 GB, free: 7.895 MB / 1.217 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.0003068/0.5688, allocations: 229.6 kB / 1.522 GB, free: 7.66 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.5689, allocations: 55.67 kB / 1.522 GB, free: 7.605 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.569, allocations: 48.45 kB / 1.522 GB, free: 7.555 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.569, allocations: 4 kB / 1.522 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.569, allocations: 7.922 kB / 1.522 GB, free: 7.543 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008091/0.5698, allocations: 0.5282 MB / 1.523 GB, free: 6.945 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5712, allocations: 0.884 MB / 1.524 GB, free: 6.004 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5712, allocations: 7.984 kB / 1.524 GB, free: 5.996 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.5714, allocations: 40.05 kB / 1.524 GB, free: 5.957 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.5717, allocations: 64.8 kB / 1.524 GB, free: 5.891 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.5717, allocations: 4 kB / 1.524 GB, free: 5.887 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.5735, allocations: 1.722 MB / 1.525 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5735, allocations: 4 kB / 1.525 GB, free: 4.047 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.5742, allocations: 443.2 kB / 1.526 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.5745, allocations: 87.56 kB / 1.526 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.5745, allocations: 11.94 kB / 1.526 GB, free: 3.492 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.575, allocations: 15.98 kB / 1.526 GB, free: 3.477 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.575, allocations: 27.95 kB / 1.526 GB, free: 3.449 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.5751, allocations: 12 kB / 1.526 GB, free: 3.438 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005068/0.5756, allocations: 398.8 kB / 1.526 GB, free: 3.051 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5756, allocations: 3.938 kB / 1.526 GB, free: 3.047 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006692/0.5762, allocations: 199.8 kB / 1.526 GB, free: 2.852 MB / 1.217 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.0002676/0.5765, allocations: 147.3 kB / 1.527 GB, free: 2.695 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009846/0.5775, allocations: 0.5244 MB / 1.527 GB, free: 2.145 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5775, allocations: 0 / 1.527 GB, free: 2.145 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.5779, allocations: 258.4 kB / 1.527 GB, free: 1.879 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.5796, allocations: 369.8 kB / 1.528 GB, free: 1.527 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.5812, allocations: 1.003 MB / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.5818, allocations: 0.9093 MB / 1.53 GB, free: 15.55 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003877/0.5822, allocations: 112.8 kB / 1.53 GB, free: 15.45 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5823, allocations: 39.44 kB / 1.53 GB, free: 15.41 MB / 1.232 GB Notification: Performance of SimCode: time 7.91e-07/0.5823, allocations: 0 / 1.53 GB, free: 15.41 MB / 1.232 GB Notification: Performance of Templates: time 0.02372/0.6061, allocations: 13.47 MB / 1.543 GB, free: 2.145 MB / 1.232 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: 9.344688908196986]