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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007199/0.007198, allocations: 101.5 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 189.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 66.06 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3415, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1739/0.5154, allocations: 168.8 MB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007297/0.5228, allocations: 4.364 MB / 1.222 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.5239, allocations: 19.88 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.5253, allocations: 306.5 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.5289, allocations: 1.155 MB / 1.223 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.5312, allocations: 0.7152 MB / 1.224 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.5343, allocations: 2.354 MB / 1.226 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.5353, allocations: 487.1 kB / 1.227 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.5368, allocations: 0.5873 MB / 1.227 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.5385, allocations: 0.5733 MB / 1.228 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.5388, allocations: 32 kB / 1.228 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.5409, allocations: 0.9079 MB / 1.229 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.5413, allocations: 247.3 kB / 1.229 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.5421, allocations: 374.2 kB / 1.229 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.5435, allocations: 0.9433 MB / 1.23 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5435, allocations: 4 kB / 1.23 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5436, allocations: 4 kB / 1.23 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.5436, allocations: 0 / 1.23 GB, free: 1.816 MB / 0.9825 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.002504/0.5461, allocations: 1.046 MB / 1.231 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5462, allocations: 8.031 kB / 1.231 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5473, allocations: 159 kB / 1.232 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.5483, allocations: 0.5173 MB / 1.232 GB, free: 16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.5483, allocations: 45.25 kB / 1.232 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.5484, allocations: 52 kB / 1.232 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.5496, allocations: 0.6518 MB / 1.233 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.5497, allocations: 0 / 1.233 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.5497, allocations: 24 kB / 1.233 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.5498, allocations: 21.31 kB / 1.233 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.5508, allocations: 0.5165 MB / 1.233 GB, free: 14.67 MB / 0.9981 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.003709/0.5545, allocations: 2.309 MB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.5551, allocations: 254.8 kB / 1.236 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.5553, allocations: 135.9 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.5554, allocations: 4 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.5554, allocations: 46.44 kB / 1.236 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.5554, allocations: 0 / 1.236 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001731/0.5571, allocations: 0.6665 MB / 1.237 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5572, allocations: 85.09 kB / 1.237 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/0.5579, allocations: 0.5613 MB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.558, allocations: 33.64 kB / 1.237 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.5582, allocations: 335.1 kB / 1.238 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.5583, allocations: 66.95 kB / 1.238 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.5584, allocations: 73.92 kB / 1.238 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5586, allocations: 366.7 kB / 1.238 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.5588, allocations: 128.6 kB / 1.238 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.5592, allocations: 214.6 kB / 1.238 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.5597, allocations: 340.8 kB / 1.239 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5597, allocations: 4 kB / 1.239 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009287/0.5607, allocations: 0.4905 MB / 1.239 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5607, allocations: 8.281 kB / 1.239 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5607, allocations: 4 kB / 1.239 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.561, allocations: 93.66 kB / 1.239 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.5614, allocations: 71.89 kB / 1.239 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.5643, allocations: 3.11 MB / 1.242 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.5648, allocations: 59.58 kB / 1.242 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.5649, allocations: 12 kB / 1.242 GB, free: 4.613 MB / 0.9981 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.0003078/0.5652, allocations: 211.7 kB / 1.243 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.5653, allocations: 63.28 kB / 1.243 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.5654, allocations: 56.5 kB / 1.243 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5655, allocations: 0 / 1.243 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5655, allocations: 8 kB / 1.243 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007039/0.5662, allocations: 0.5284 MB / 1.243 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.5675, allocations: 0.9159 MB / 1.244 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5676, allocations: 7.938 kB / 1.244 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.5678, allocations: 39.97 kB / 1.244 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.568, allocations: 68.73 kB / 1.244 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.568, allocations: 7.938 kB / 1.244 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.5696, allocations: 1.695 MB / 1.246 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5696, allocations: 0 / 1.246 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.5703, allocations: 445.2 kB / 1.246 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.5706, allocations: 160.4 kB / 1.247 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.5707, allocations: 8 kB / 1.247 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.5712, allocations: 36.62 kB / 1.247 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.5713, allocations: 15.97 kB / 1.247 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.5714, allocations: 15.98 kB / 1.247 GB, free: 24 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6477/1.219, allocations: 394.2 kB / 1.247 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.219, allocations: 0 / 1.247 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001086/1.22, allocations: 202.5 kB / 1.247 GB, free: 194.4 MB / 0.9981 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.0004613/1.221, allocations: 157.4 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009925/1.222, allocations: 0.5233 MB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.222, allocations: 1.125 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/1.222, allocations: 252.2 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.224, allocations: 362.3 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.226, allocations: 1.242 MB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.226, allocations: 0.9054 MB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.226, allocations: 42.72 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.226, allocations: 1.188 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02289/1.249, allocations: 13.41 MB / 1.264 GB, free: 191.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches