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.001483/0.001483, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001697/0.001697, allocations: 222 kB / 23.01 MB, free: 5.086 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.961 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 2.918/2.918, allocations: 0.49 GB / 0.7958 GB, free: 33.3 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: 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.001901/0.001901, allocations: 66.52 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1876/0.4895, allocations: 174.8 MB / 1.498 GB, free: 1.996 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006377/0.4958, allocations: 4.328 MB / 1.502 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.4964, allocations: 31.75 kB / 1.502 GB, free: 13.63 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009202/0.4973, allocations: 365.9 kB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.5001, allocations: 1.291 MB / 1.504 GB, free: 11.97 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.5021, allocations: 0.828 MB / 1.504 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.5043, allocations: 1.732 MB / 1.506 GB, free: 9.41 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006603/0.505, allocations: 460.2 kB / 1.507 GB, free: 8.957 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.5063, allocations: 0.7824 MB / 1.507 GB, free: 8.172 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.5075, allocations: 0.5788 MB / 1.508 GB, free: 7.594 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5076, allocations: 71.88 kB / 1.508 GB, free: 7.523 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.5092, allocations: 0.8535 MB / 1.509 GB, free: 6.668 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.5095, allocations: 279.3 kB / 1.509 GB, free: 6.395 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.5099, allocations: 406.2 kB / 1.509 GB, free: 5.996 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.5116, allocations: 1.277 MB / 1.511 GB, free: 4.715 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5116, allocations: 0 / 1.511 GB, free: 4.715 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5116, allocations: 0 / 1.511 GB, free: 4.715 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.5116, allocations: 0 / 1.511 GB, free: 4.715 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.001739/0.5133, allocations: 0.9796 MB / 1.512 GB, free: 3.699 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5134, allocations: 8.031 kB / 1.512 GB, free: 3.691 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.5143, allocations: 163.4 kB / 1.512 GB, free: 3.531 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.5152, allocations: 494.7 kB / 1.512 GB, free: 3.023 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.5153, allocations: 41.3 kB / 1.512 GB, free: 2.984 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.5153, allocations: 55.94 kB / 1.512 GB, free: 2.93 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5164, allocations: 0.648 MB / 1.513 GB, free: 2.266 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5164, allocations: 0 / 1.513 GB, free: 2.266 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.5165, allocations: 20 kB / 1.513 GB, free: 2.246 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.5165, allocations: 25.3 kB / 1.513 GB, free: 2.219 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.5174, allocations: 0.5164 MB / 1.514 GB, free: 1.699 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.003311/0.5207, allocations: 2.25 MB / 1.516 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.5212, allocations: 238.8 kB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.5215, allocations: 134.2 kB / 1.516 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.5215, allocations: 4.281 kB / 1.516 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5215, allocations: 42.56 kB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.5215, allocations: 0 / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.00157/0.5231, allocations: 0.5159 MB / 1.517 GB, free: 14.33 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5232, allocations: 89.11 kB / 1.517 GB, free: 14.22 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.5238, allocations: 0.5497 MB / 1.517 GB, free: 13.66 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.5238, allocations: 33.7 kB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.5241, allocations: 343.7 kB / 1.518 GB, free: 13.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.5242, allocations: 79.31 kB / 1.518 GB, free: 13.21 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.5243, allocations: 65.98 kB / 1.518 GB, free: 13.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5244, allocations: 374.7 kB / 1.518 GB, free: 12.76 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.5247, allocations: 128.6 kB / 1.518 GB, free: 12.64 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.525, allocations: 218.6 kB / 1.519 GB, free: 12.39 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.5255, allocations: 340.8 kB / 1.519 GB, free: 12.03 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5255, allocations: 0 / 1.519 GB, free: 12.03 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009023/0.5264, allocations: 498.9 kB / 1.519 GB, free: 11.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5264, allocations: 9.719 kB / 1.519 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5265, allocations: 0 / 1.519 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.5268, allocations: 97.58 kB / 1.519 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.5271, allocations: 67.91 kB / 1.519 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.5301, allocations: 3.148 MB / 1.523 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.5306, allocations: 47.56 kB / 1.523 GB, free: 7.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.5306, allocations: 16 kB / 1.523 GB, free: 7.914 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.0002924/0.5309, allocations: 217.7 kB / 1.523 GB, free: 7.691 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.531, allocations: 55.67 kB / 1.523 GB, free: 7.637 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.5311, allocations: 56.45 kB / 1.523 GB, free: 7.578 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5311, allocations: 3.984 kB / 1.523 GB, free: 7.574 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5311, allocations: 7.938 kB / 1.523 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007294/0.5318, allocations: 0.5243 MB / 1.523 GB, free: 6.973 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.5331, allocations: 0.89 MB / 1.524 GB, free: 6.023 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5331, allocations: 0 / 1.524 GB, free: 6.023 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5333, allocations: 39.98 kB / 1.524 GB, free: 5.984 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.5335, allocations: 64.8 kB / 1.524 GB, free: 5.918 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.5335, allocations: 8 kB / 1.524 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.5352, allocations: 1.726 MB / 1.526 GB, free: 4.07 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5352, allocations: 4.062 kB / 1.526 GB, free: 4.066 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.5359, allocations: 433.5 kB / 1.527 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.5361, allocations: 95.52 kB / 1.527 GB, free: 3.523 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.5362, allocations: 7.938 kB / 1.527 GB, free: 3.516 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.5366, allocations: 25.81 kB / 1.527 GB, free: 3.492 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.5366, allocations: 23.95 kB / 1.527 GB, free: 3.469 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.5367, allocations: 15.94 kB / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004705/0.5371, allocations: 398.8 kB / 1.527 GB, free: 3.066 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5371, allocations: 0 / 1.527 GB, free: 3.066 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006009/0.5377, allocations: 199.8 kB / 1.527 GB, free: 2.871 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.0002371/0.538, allocations: 147.3 kB / 1.527 GB, free: 2.715 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008856/0.5389, allocations: 0.5181 MB / 1.528 GB, free: 2.172 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5389, allocations: 4 kB / 1.528 GB, free: 2.168 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.5392, allocations: 259 kB / 1.528 GB, free: 1.902 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5408, allocations: 371.6 kB / 1.529 GB, free: 1.547 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.5423, allocations: 1.047 MB / 1.53 GB, free: 476 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.5429, allocations: 0.9054 MB / 1.53 GB, free: 15.53 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.543, allocations: 39.44 kB / 1.53 GB, free: 15.49 MB / 1.232 GB Notification: Performance of SimCode: time 5.41e-07/0.543, allocations: 4 kB / 1.53 GB, free: 15.49 MB / 1.232 GB Notification: Performance of Templates: time 0.01732/0.5603, allocations: 13.52 MB / 1.544 GB, free: 2.062 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/jenkins1/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: 12.419448436994571]