Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001409/0.001409, allocations: 107.5 kB / 16.41 MB, free: 6.492 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.001626/0.001626, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8449, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.208/1.053, allocations: 171.1 MB / 1.256 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006782/1.06, allocations: 4.288 MB / 1.26 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/1.061, allocations: 19.88 kB / 1.26 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/1.062, allocations: 357.9 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/1.065, allocations: 1.209 MB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/1.067, allocations: 0.8058 MB / 1.262 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00237/1.07, allocations: 1.691 MB / 1.264 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008444/1.071, allocations: 0.5542 MB / 1.264 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/1.072, allocations: 0.6966 MB / 1.265 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/1.073, allocations: 0.5537 MB / 1.266 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.073, allocations: 68 kB / 1.266 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/1.075, allocations: 0.8028 MB / 1.266 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/1.075, allocations: 263.3 kB / 1.267 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/1.076, allocations: 406.3 kB / 1.267 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/1.078, allocations: 1.275 MB / 1.268 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.078, allocations: 0 / 1.268 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.078, allocations: 0 / 1.268 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.753e-05/1.078, allocations: 0 / 1.268 GB, free: 5.609 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.001746/1.079, allocations: 1.029 MB / 1.269 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.079, allocations: 8.031 kB / 1.269 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.08, allocations: 171 kB / 1.27 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/1.081, allocations: 0.5405 MB / 1.27 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/1.081, allocations: 37.31 kB / 1.27 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/1.081, allocations: 52 kB / 1.27 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.083, allocations: 0.6479 MB / 1.271 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.083, allocations: 0 / 1.271 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/1.083, allocations: 31.94 kB / 1.271 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/1.083, allocations: 25.3 kB / 1.271 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/1.084, allocations: 0.5126 MB / 1.271 GB, free: 2.449 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.003439/1.087, allocations: 2.301 MB / 1.274 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/1.088, allocations: 254.8 kB / 1.274 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/1.088, allocations: 132.8 kB / 1.274 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.088, allocations: 3.938 kB / 1.274 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.088, allocations: 42.5 kB / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 2.424e-06/1.088, allocations: 0 / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001722/1.09, allocations: 0.6704 MB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/1.09, allocations: 77.11 kB / 1.275 GB, free: 14.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/1.091, allocations: 0.5574 MB / 1.275 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/1.091, allocations: 37.7 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/1.091, allocations: 335.1 kB / 1.276 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/1.091, allocations: 74.92 kB / 1.276 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/1.091, allocations: 69.94 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.091, allocations: 362.7 kB / 1.276 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/1.091, allocations: 128.6 kB / 1.276 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/1.092, allocations: 218.6 kB / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/1.092, allocations: 332.9 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.092, allocations: 7.938 kB / 1.277 GB, free: 12.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009727/1.093, allocations: 498.3 kB / 1.277 GB, free: 12.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.093, allocations: 4.281 kB / 1.277 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.093, allocations: 8 kB / 1.277 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/1.094, allocations: 85.66 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/1.094, allocations: 71.91 kB / 1.277 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/1.097, allocations: 3.347 MB / 1.281 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/1.098, allocations: 55.42 kB / 1.281 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/1.098, allocations: 12 kB / 1.281 GB, free: 8.168 MB / 1.014 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.0003189/1.098, allocations: 217.7 kB / 1.281 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.098, allocations: 51.44 kB / 1.281 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/1.098, allocations: 60.5 kB / 1.281 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.098, allocations: 0 / 1.281 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.098, allocations: 3.938 kB / 1.281 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006845/1.099, allocations: 0.5365 MB / 1.282 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.1, allocations: 0.9141 MB / 1.282 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.1, allocations: 4.062 kB / 1.282 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.101, allocations: 47.97 kB / 1.282 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.101, allocations: 60.81 kB / 1.283 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.101, allocations: 7.984 kB / 1.283 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/1.103, allocations: 1.813 MB / 1.284 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.103, allocations: 7.922 kB / 1.284 GB, free: 4.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/1.103, allocations: 437.3 kB / 1.285 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/1.104, allocations: 168.3 kB / 1.285 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/1.104, allocations: 11.94 kB / 1.285 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/1.104, allocations: 19.98 kB / 1.285 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/1.104, allocations: 19.97 kB / 1.285 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/1.104, allocations: 15.98 kB / 1.285 GB, free: 3.457 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004864/1.105, allocations: 394.8 kB / 1.285 GB, free: 3.074 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.105, allocations: 4 kB / 1.285 GB, free: 3.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007192/1.106, allocations: 207.7 kB / 1.286 GB, free: 2.867 MB / 1.014 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.0004417/1.106, allocations: 162 kB / 1.286 GB, free: 2.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009788/1.107, allocations: 0.5325 MB / 1.286 GB, free: 2.152 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.107, allocations: 0 / 1.286 GB, free: 2.152 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/1.107, allocations: 263.2 kB / 1.286 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.109, allocations: 374.2 kB / 1.287 GB, free: 1.527 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/1.111, allocations: 1.02 MB / 1.288 GB, free: 476 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/1.111, allocations: 0.9054 MB / 1.289 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.111, allocations: 39.44 kB / 1.289 GB, free: 15.49 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.111, allocations: 0 / 1.289 GB, free: 15.49 MB / 1.029 GB Notification: Performance of Templates: time 0.01902/1.13, allocations: 13.47 MB / 1.302 GB, free: 2.129 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches