Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00138/0.001381, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.867/2.867, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.7015, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2249/0.9264, allocations: 171.1 MB / 1.184 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007599/0.934, allocations: 4.303 MB / 1.189 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.9349, allocations: 23.88 kB / 1.189 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.9361, allocations: 349.9 kB / 1.189 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.9392, allocations: 1.225 MB / 1.19 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.9412, allocations: 0.7918 MB / 1.191 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.9433, allocations: 1.692 MB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000817/0.9442, allocations: 0.562 MB / 1.193 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.9455, allocations: 0.681 MB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.947, allocations: 0.5524 MB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.9472, allocations: 64 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.9491, allocations: 0.7951 MB / 1.195 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.9495, allocations: 267.3 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.95, allocations: 410.2 kB / 1.196 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.952, allocations: 1.254 MB / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.952, allocations: 0 / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.986e-06/0.952, allocations: 0 / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.952, allocations: 0 / 1.197 GB, free: 9.801 MB / 0.9512 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.002207/0.9543, allocations: 1.036 MB / 1.198 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.9543, allocations: 8.031 kB / 1.198 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.9554, allocations: 175 kB / 1.198 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.9563, allocations: 0.5249 MB / 1.199 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.9563, allocations: 37.31 kB / 1.199 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.9564, allocations: 51.94 kB / 1.199 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.9576, allocations: 0.6519 MB / 1.199 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.9576, allocations: 0 / 1.199 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.9577, allocations: 27.98 kB / 1.199 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.9577, allocations: 21.31 kB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.9587, allocations: 0.5164 MB / 1.2 GB, free: 6.648 MB / 0.9512 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.003497/0.9622, allocations: 2.313 MB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.9627, allocations: 250.8 kB / 1.202 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.963, allocations: 140.7 kB / 1.203 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.9631, allocations: 7.938 kB / 1.203 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.9631, allocations: 38.56 kB / 1.203 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.9631, allocations: 4 kB / 1.203 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001737/0.9648, allocations: 0.6589 MB / 1.203 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.9649, allocations: 85.05 kB / 1.203 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.9656, allocations: 0.5613 MB / 1.204 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.9657, allocations: 29.7 kB / 1.204 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.966, allocations: 343.1 kB / 1.204 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.966, allocations: 63.02 kB / 1.204 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9662, allocations: 69.94 kB / 1.204 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.9664, allocations: 366.7 kB / 1.205 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.9666, allocations: 136.6 kB / 1.205 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.967, allocations: 210.7 kB / 1.205 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.9676, allocations: 332.3 kB / 1.205 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9676, allocations: 0 / 1.205 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009669/0.9685, allocations: 0.4953 MB / 1.206 GB, free: 220 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9686, allocations: 4 kB / 1.206 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9686, allocations: 4 kB / 1.206 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.9689, allocations: 93.59 kB / 1.206 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.9693, allocations: 75.88 kB / 1.206 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.9727, allocations: 3.34 MB / 1.209 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.9732, allocations: 51.45 kB / 1.209 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.9732, allocations: 15.94 kB / 1.209 GB, free: 12.36 MB / 0.9669 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.0003004/0.9735, allocations: 217.8 kB / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9736, allocations: 55.34 kB / 1.21 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.9738, allocations: 56.5 kB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9738, allocations: 4 kB / 1.21 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.9738, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000789/0.9746, allocations: 0.5284 MB / 1.21 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.9759, allocations: 0.9181 MB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.976, allocations: 4 kB / 1.211 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.9762, allocations: 39.97 kB / 1.211 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.9764, allocations: 64.88 kB / 1.211 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.9764, allocations: 11.97 kB / 1.211 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.9784, allocations: 1.828 MB / 1.213 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9784, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.9791, allocations: 438.9 kB / 1.213 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.9793, allocations: 168.4 kB / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.9794, allocations: 7.938 kB / 1.214 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.9798, allocations: 19.17 kB / 1.214 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.9799, allocations: 23.97 kB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.98, allocations: 23.92 kB / 1.214 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000488/0.9805, allocations: 394.8 kB / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9805, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006471/0.9811, allocations: 207.7 kB / 1.214 GB, free: 7.047 MB / 0.9669 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.0004369/0.9816, allocations: 167 kB / 1.214 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.9826, allocations: 0.5439 MB / 1.215 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9826, allocations: 0 / 1.215 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.983, allocations: 255.9 kB / 1.215 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.9847, allocations: 371.3 kB / 1.216 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.9864, allocations: 0.9906 MB / 1.216 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.9871, allocations: 0.9054 MB / 1.217 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004549/0.9875, allocations: 108.8 kB / 1.217 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.9876, allocations: 43.42 kB / 1.218 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.9876, allocations: 0 / 1.218 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of Templates: time 0.0258/1.013, allocations: 13.03 MB / 1.23 GB, free: 6.777 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches