Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0008482/0.0008482, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005091/0.005091, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.959/2.959, allocations: 470.6 MB / 0.7442 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 9.812 kB / 0.9123 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3147, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.204/0.5187, allocations: 166.6 MB / 1.233 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006984/0.5257, allocations: 4.31 MB / 1.237 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.5265, allocations: 15.88 kB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.5276, allocations: 306.5 kB / 1.237 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.5308, allocations: 1.15 MB / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.5328, allocations: 0.7258 MB / 1.239 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003123/0.536, allocations: 2.362 MB / 1.241 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.5369, allocations: 465.8 kB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.5382, allocations: 0.5756 MB / 1.242 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.5397, allocations: 0.5554 MB / 1.243 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.5398, allocations: 28 kB / 1.243 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.5417, allocations: 0.9118 MB / 1.244 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.5421, allocations: 223.3 kB / 1.244 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008183/0.543, allocations: 387.9 kB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.5454, allocations: 1.258 MB / 1.246 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5455, allocations: 3.984 kB / 1.246 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5455, allocations: 4 kB / 1.246 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.97e-05/0.5455, allocations: 0 / 1.246 GB, free: 6.895 MB / 0.9981 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.002412/0.5479, allocations: 0.904 MB / 1.246 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.548, allocations: 8.031 kB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5492, allocations: 163 kB / 1.247 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.5503, allocations: 0.5249 MB / 1.247 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.5504, allocations: 37.31 kB / 1.247 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.5505, allocations: 51.94 kB / 1.247 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5519, allocations: 0.6636 MB / 1.248 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5519, allocations: 0 / 1.248 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.552, allocations: 28 kB / 1.248 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.5521, allocations: 21.31 kB / 1.248 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.5533, allocations: 0.5243 MB / 1.248 GB, free: 3.867 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.004151/0.5574, allocations: 2.305 MB / 1.251 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.558, allocations: 254.8 kB / 1.251 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.5583, allocations: 149.5 kB / 1.251 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.5584, allocations: 4 kB / 1.251 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.5584, allocations: 34.56 kB / 1.251 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.5584, allocations: 4 kB / 1.251 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.002009/0.5604, allocations: 0.686 MB / 1.252 GB, free: 208 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.5605, allocations: 81.11 kB / 1.252 GB, free: 108 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6218/1.182, allocations: 0.5515 MB / 1.252 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.346e-05/1.182, allocations: 34.3 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/1.183, allocations: 337.9 kB / 1.253 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.494e-05/1.183, allocations: 74.64 kB / 1.253 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/1.183, allocations: 31.39 kB / 1.253 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.183, allocations: 363.4 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/1.183, allocations: 136.3 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/1.184, allocations: 223.4 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/1.184, allocations: 347.6 kB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.184, allocations: 4.703 kB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001132/1.186, allocations: 0.5042 MB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.186, allocations: 5.984 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.186, allocations: 2.656 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/1.186, allocations: 92.73 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/1.186, allocations: 74.52 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/1.189, allocations: 3.104 MB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/1.19, allocations: 69.55 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/1.19, allocations: 14.34 kB / 1.258 GB, free: 183.2 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.0003799/1.19, allocations: 216.1 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.19, allocations: 55.94 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/1.19, allocations: 53.59 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.19, allocations: 3.062 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.191, allocations: 1.266 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007892/1.191, allocations: 0.5496 MB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.193, allocations: 0.9287 MB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.193, allocations: 1.906 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/1.193, allocations: 42.06 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/1.193, allocations: 65.06 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/1.193, allocations: 9.812 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/1.195, allocations: 1.691 MB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.195, allocations: 1.031 kB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/1.195, allocations: 451.9 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/1.196, allocations: 163.2 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/1.196, allocations: 5.031 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/1.196, allocations: 41.28 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/1.196, allocations: 26.84 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1.196, allocations: 13.33 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005376/1.197, allocations: 405.9 kB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.197, allocations: 0 / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007543/1.198, allocations: 204.6 kB / 1.262 GB, free: 180.7 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.0004647/1.198, allocations: 166.2 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.199, allocations: 0.5445 MB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.199, allocations: 2.844 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/1.199, allocations: 251.8 kB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.201, allocations: 362 kB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/1.203, allocations: 1.242 MB / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/1.203, allocations: 0.9099 MB / 1.266 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000415/1.203, allocations: 115.5 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/1.204, allocations: 40.58 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.204, allocations: 0 / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02407/1.228, allocations: 12.3 MB / 1.278 GB, free: 177.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches