Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002512/0.002512, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003114/0.003114, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.663/1.663, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.526/3.526, allocations: 429.4 MB / 0.6729 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8774 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.714e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2453/0.2454, allocations: 167.4 MB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008307/0.2537, allocations: 4.392 MB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.2544, allocations: 27.81 kB / 1.045 GB, free: 10.33 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.2554, allocations: 345.8 kB / 1.046 GB, free: 9.988 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.2588, allocations: 1.313 MB / 1.047 GB, free: 8.668 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.2611, allocations: 0.8295 MB / 1.048 GB, free: 7.836 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.2637, allocations: 1.753 MB / 1.049 GB, free: 6.078 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.2646, allocations: 468.5 kB / 1.05 GB, free: 5.617 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.2665, allocations: 0.9894 MB / 1.051 GB, free: 4.625 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.2679, allocations: 0.5379 MB / 1.051 GB, free: 4.094 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.268, allocations: 64 kB / 1.051 GB, free: 4.031 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2695, allocations: 0.6699 MB / 1.052 GB, free: 3.359 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.2699, allocations: 307.1 kB / 1.052 GB, free: 3.059 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.2704, allocations: 299.4 kB / 1.053 GB, free: 2.766 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.2727, allocations: 1.313 MB / 1.054 GB, free: 1.449 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2727, allocations: 0 / 1.054 GB, free: 1.449 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2727, allocations: 0 / 1.054 GB, free: 1.449 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.2727, allocations: 0 / 1.054 GB, free: 1.449 MB / 1.01 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.002215/0.2749, allocations: 1.13 MB / 1.055 GB, free: 288 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.275, allocations: 8.031 kB / 1.055 GB, free: 280 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2761, allocations: 235.1 kB / 1.055 GB, free: 44 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4907/0.7669, allocations: 498.5 kB / 1.056 GB, free: 223.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.7669, allocations: 37.09 kB / 1.056 GB, free: 223.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.767, allocations: 60.84 kB / 1.056 GB, free: 223.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.7681, allocations: 0.9571 MB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.7681, allocations: 1.656 kB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.7682, allocations: 21.78 kB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.7682, allocations: 25.88 kB / 1.057 GB, free: 222.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.7689, allocations: 361.6 kB / 1.057 GB, free: 222.8 MB / 1.01 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.002943/0.7718, allocations: 1.842 MB / 1.059 GB, free: 221.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.7722, allocations: 209.8 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.7724, allocations: 101.1 kB / 1.059 GB, free: 221.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.7724, allocations: 4.812 kB / 1.059 GB, free: 221.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.7725, allocations: 41.95 kB / 1.059 GB, free: 221.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.7725, allocations: 0 / 1.059 GB, free: 221.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=20): time 0.001419/0.7739, allocations: 437 kB / 1.06 GB, free: 221.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.7739, allocations: 79.95 kB / 1.06 GB, free: 221.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.7744, allocations: 0.5335 MB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.7745, allocations: 32.64 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.7747, allocations: 416.1 kB / 1.061 GB, free: 220.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.586e-05/0.7747, allocations: 82.09 kB / 1.061 GB, free: 220.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.7749, allocations: 89.5 kB / 1.061 GB, free: 220.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.775, allocations: 0.5516 MB / 1.061 GB, free: 220.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.7752, allocations: 82.53 kB / 1.061 GB, free: 220.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.7754, allocations: 240 kB / 1.062 GB, free: 219.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.7757, allocations: 282.3 kB / 1.062 GB, free: 219.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7757, allocations: 5.219 kB / 1.062 GB, free: 219.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006903/0.7764, allocations: 406.5 kB / 1.062 GB, free: 219.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7764, allocations: 6.5 kB / 1.062 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7764, allocations: 2.875 kB / 1.062 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.7767, allocations: 85.73 kB / 1.062 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.777, allocations: 65.7 kB / 1.062 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.7794, allocations: 3.916 MB / 1.066 GB, free: 215.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.7799, allocations: 39.52 kB / 1.066 GB, free: 215.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.7799, allocations: 11.62 kB / 1.066 GB, free: 215.7 MB / 1.01 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.0002791/0.7802, allocations: 225.1 kB / 1.067 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.7803, allocations: 51.59 kB / 1.067 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.7804, allocations: 48.58 kB / 1.067 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7804, allocations: 0 / 1.067 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7804, allocations: 2.938 kB / 1.067 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005614/0.7809, allocations: 482.4 kB / 1.067 GB, free: 215.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7821, allocations: 0.8633 MB / 1.068 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7821, allocations: 0 / 1.068 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.7822, allocations: 32.47 kB / 1.068 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.7824, allocations: 61.23 kB / 1.068 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.7824, allocations: 7.75 kB / 1.068 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.7837, allocations: 2.094 MB / 1.07 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7837, allocations: 0 / 1.07 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.7842, allocations: 432.8 kB / 1.071 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.7844, allocations: 80.77 kB / 1.071 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.7845, allocations: 8.25 kB / 1.071 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.7848, allocations: 17.39 kB / 1.071 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.7849, allocations: 24.27 kB / 1.071 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.785, allocations: 15.14 kB / 1.071 GB, free: 212.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002896/0.7853, allocations: 341 kB / 1.071 GB, free: 212 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7853, allocations: 0.875 kB / 1.071 GB, free: 212 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000641/0.7859, allocations: 217.8 kB / 1.071 GB, free: 212 MB / 1.01 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.0002691/0.7862, allocations: 157.1 kB / 1.071 GB, free: 211.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007602/0.7869, allocations: 0.5869 MB / 1.072 GB, free: 211.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7869, allocations: 3.656 kB / 1.072 GB, free: 211.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.7872, allocations: 303 kB / 1.072 GB, free: 211.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.7885, allocations: 273.8 kB / 1.072 GB, free: 211.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.79, allocations: 0.9251 MB / 1.073 GB, free: 210.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.7903, allocations: 308.5 kB / 1.074 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.7906, allocations: 80.2 kB / 1.074 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.7907, allocations: 35.38 kB / 1.074 GB, free: 210.5 MB / 1.01 GB Notification: Performance of SimCode: time 9.82e-07/0.7907, allocations: 0 / 1.074 GB, free: 210.5 MB / 1.01 GB Notification: Performance of Templates: time 0.01795/0.8086, allocations: 10.75 MB / 1.084 GB, free: 209.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.991017922060564]