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.001652/0.001652, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.001582/0.001582, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.878/2.878, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.603e-06/1.603e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.025e-05, allocations: 6.219 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.8469/0.847, allocations: 150.9 MB / 1.147 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00598/0.8529, allocations: 4.039 MB / 1.151 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.8538, allocations: 30.81 kB / 1.151 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.8548, allocations: 336.2 kB / 1.152 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.858, allocations: 1.32 MB / 1.153 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.86, allocations: 0.8398 MB / 1.154 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.8622, allocations: 1.754 MB / 1.156 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.8628, allocations: 438.4 kB / 1.156 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.8644, allocations: 0.9971 MB / 1.157 GB, free: 44.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.8657, allocations: 0.507 MB / 1.157 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.8659, allocations: 64.56 kB / 1.158 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.8674, allocations: 0.6779 MB / 1.158 GB, free: 44.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.8677, allocations: 296.6 kB / 1.158 GB, free: 44.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.8681, allocations: 294.5 kB / 1.159 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.8697, allocations: 1.297 MB / 1.16 GB, free: 44.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8697, allocations: 1 kB / 1.16 GB, free: 44.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8697, allocations: 0 / 1.16 GB, free: 44.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.8698, allocations: 0 / 1.16 GB, free: 44.55 MB / 1.076 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.001585/0.8713, allocations: 0.9733 MB / 1.161 GB, free: 44.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8714, allocations: 12.97 kB / 1.161 GB, free: 44.03 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.8724, allocations: 161.7 kB / 1.161 GB, free: 43.99 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.8732, allocations: 491.2 kB / 1.162 GB, free: 43.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.8732, allocations: 41.16 kB / 1.162 GB, free: 43.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.8733, allocations: 52.88 kB / 1.162 GB, free: 43.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.8744, allocations: 1.002 MB / 1.163 GB, free: 43.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.8744, allocations: 0 / 1.163 GB, free: 43.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.8745, allocations: 26.59 kB / 1.163 GB, free: 43.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.8745, allocations: 27.06 kB / 1.163 GB, free: 43.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.8753, allocations: 0.514 MB / 1.163 GB, free: 43.26 MB / 1.076 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.002606/0.8779, allocations: 1.547 MB / 1.165 GB, free: 42.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.8784, allocations: 245.4 kB / 1.165 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.8786, allocations: 126 kB / 1.165 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.8787, allocations: 6.406 kB / 1.165 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.8787, allocations: 39.95 kB / 1.165 GB, free: 42.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.8787, allocations: 0.875 kB / 1.165 GB, free: 42.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001559/0.8802, allocations: 0.5109 MB / 1.166 GB, free: 42.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.8803, allocations: 78.11 kB / 1.166 GB, free: 42.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.8807, allocations: 441.2 kB / 1.166 GB, free: 42.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.8808, allocations: 31.08 kB / 1.166 GB, free: 42.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.881, allocations: 350.5 kB / 1.166 GB, free: 42.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.881, allocations: 75.38 kB / 1.167 GB, free: 42.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8811, allocations: 71.64 kB / 1.167 GB, free: 42.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.8812, allocations: 349.3 kB / 1.167 GB, free: 41.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.8814, allocations: 132.2 kB / 1.167 GB, free: 41.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.8817, allocations: 243.4 kB / 1.167 GB, free: 41.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.8822, allocations: 332.9 kB / 1.168 GB, free: 41.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8822, allocations: 0 / 1.168 GB, free: 41.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007908/0.883, allocations: 493.8 kB / 1.168 GB, free: 41.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.883, allocations: 9.469 kB / 1.168 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.883, allocations: 3.406 kB / 1.168 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.8833, allocations: 99.97 kB / 1.168 GB, free: 41.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.8836, allocations: 72.94 kB / 1.168 GB, free: 41.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.8859, allocations: 3.068 MB / 1.171 GB, free: 39.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.8863, allocations: 42.19 kB / 1.171 GB, free: 39.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.8864, allocations: 13 kB / 1.171 GB, free: 39.13 MB / 1.076 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.0002756/0.8866, allocations: 216.4 kB / 1.172 GB, free: 39.01 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.8867, allocations: 49.41 kB / 1.172 GB, free: 38.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.8868, allocations: 47.36 kB / 1.172 GB, free: 38.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8868, allocations: 6.938 kB / 1.172 GB, free: 38.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8868, allocations: 4.219 kB / 1.172 GB, free: 38.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006176/0.8874, allocations: 0.531 MB / 1.172 GB, free: 38.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.8884, allocations: 0.7526 MB / 1.173 GB, free: 38.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8884, allocations: 0.8125 kB / 1.173 GB, free: 38.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.8887, allocations: 42.48 kB / 1.173 GB, free: 38.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.8888, allocations: 66.5 kB / 1.173 GB, free: 38.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.8889, allocations: 10.06 kB / 1.173 GB, free: 38.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.8902, allocations: 1.681 MB / 1.175 GB, free: 37.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.8902, allocations: 4.781 kB / 1.175 GB, free: 37.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.891, allocations: 428 kB / 1.175 GB, free: 36.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.8912, allocations: 82.34 kB / 1.175 GB, free: 36.95 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.8912, allocations: 10.09 kB / 1.175 GB, free: 36.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.8916, allocations: 20.39 kB / 1.175 GB, free: 36.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.8917, allocations: 23.98 kB / 1.175 GB, free: 36.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.8918, allocations: 14.97 kB / 1.175 GB, free: 36.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004007/0.8922, allocations: 303.8 kB / 1.176 GB, free: 36.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8922, allocations: 1 kB / 1.176 GB, free: 36.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000875/0.893, allocations: 215.5 kB / 1.176 GB, free: 36.83 MB / 1.076 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.0002726/0.8933, allocations: 145.3 kB / 1.176 GB, free: 36.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000888/0.8942, allocations: 0.5226 MB / 1.176 GB, free: 36.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8942, allocations: 2 kB / 1.176 GB, free: 36.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.8946, allocations: 252.8 kB / 1.177 GB, free: 36.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.896, allocations: 271.2 kB / 1.177 GB, free: 36.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.8976, allocations: 0.9431 MB / 1.178 GB, free: 35.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.898, allocations: 310.7 kB / 1.178 GB, free: 35.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003772/0.8983, allocations: 92.8 kB / 1.178 GB, free: 35.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.8984, allocations: 33 kB / 1.178 GB, free: 35.82 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/0.8984, allocations: 1 kB / 1.178 GB, free: 35.82 MB / 1.076 GB Notification: Performance of Templates: time 0.02321/0.9216, allocations: 10.52 MB / 1.188 GB, free: 34.93 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 800] 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.488222114741802]