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.001605/0.001605, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00209/0.002089, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.37/2.37, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7795, allocations: 140.4 MB / 0.9489 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2037/0.9833, allocations: 168.8 MB / 1.114 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006972/0.9903, allocations: 4.359 MB / 1.118 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009881/0.9914, allocations: 15.94 kB / 1.118 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.9926, allocations: 302.5 kB / 1.118 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.996, allocations: 1.155 MB / 1.119 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.9981, allocations: 0.7226 MB / 1.12 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002849/1.001, allocations: 2.362 MB / 1.122 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/1.002, allocations: 483.1 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/1.003, allocations: 0.5912 MB / 1.124 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/1.005, allocations: 0.5827 MB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/1.005, allocations: 32 kB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/1.007, allocations: 0.9117 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/1.007, allocations: 231.3 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007644/1.008, allocations: 374.2 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/1.01, allocations: 1.285 MB / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.01, allocations: 0 / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.52e-07/1.01, allocations: 7.938 kB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.866e-05/1.01, allocations: 0 / 1.127 GB, free: 11.25 MB / 0.8887 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.002258/1.013, allocations: 1.036 MB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.013, allocations: 8.031 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.014, allocations: 159.1 kB / 1.128 GB, free: 10 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/1.015, allocations: 0.521 MB / 1.129 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/1.015, allocations: 41.31 kB / 1.129 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/1.015, allocations: 52 kB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.016, allocations: 0.6557 MB / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.016, allocations: 0 / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/1.016, allocations: 24 kB / 1.129 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/1.016, allocations: 25.3 kB / 1.129 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009901/1.017, allocations: 0.5126 MB / 1.13 GB, free: 8.109 MB / 0.8887 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.003624/1.021, allocations: 2.301 MB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/1.021, allocations: 259.9 kB / 1.132 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/1.022, allocations: 130.2 kB / 1.132 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/1.022, allocations: 11.92 kB / 1.132 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.022, allocations: 42.56 kB / 1.132 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/1.022, allocations: 7.938 kB / 1.132 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001753/1.023, allocations: 0.6624 MB / 1.133 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/1.024, allocations: 85.05 kB / 1.133 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/1.024, allocations: 0.5574 MB / 1.134 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/1.024, allocations: 33.7 kB / 1.134 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/1.025, allocations: 335.1 kB / 1.134 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/1.025, allocations: 71 kB / 1.134 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.025, allocations: 69.94 kB / 1.134 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.025, allocations: 362.7 kB / 1.135 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/1.025, allocations: 128.6 kB / 1.135 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/1.026, allocations: 226.5 kB / 1.135 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/1.026, allocations: 336.9 kB / 1.135 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.026, allocations: 0 / 1.135 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000956/1.027, allocations: 494.7 kB / 1.136 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.027, allocations: 8 kB / 1.136 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.027, allocations: 4 kB / 1.136 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/1.027, allocations: 93.64 kB / 1.136 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/1.028, allocations: 67.91 kB / 1.136 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/1.031, allocations: 3.107 MB / 1.139 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/1.032, allocations: 67.41 kB / 1.139 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/1.032, allocations: 19.98 kB / 1.139 GB, free: 14.05 MB / 0.9044 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.0002922/1.032, allocations: 213.7 kB / 1.139 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.032, allocations: 55.34 kB / 1.139 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/1.032, allocations: 56.5 kB / 1.139 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.032, allocations: 11.94 kB / 1.139 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/1.032, allocations: 0 / 1.139 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007267/1.033, allocations: 0.5248 MB / 1.14 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/1.034, allocations: 0.9232 MB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.034, allocations: 0 / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.035, allocations: 39.97 kB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/1.035, allocations: 60.81 kB / 1.141 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/1.035, allocations: 11.94 kB / 1.141 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/1.037, allocations: 1.683 MB / 1.142 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.037, allocations: 0 / 1.142 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/1.037, allocations: 445.2 kB / 1.143 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/1.037, allocations: 164.4 kB / 1.143 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/1.038, allocations: 8 kB / 1.143 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/1.038, allocations: 33.28 kB / 1.143 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/1.038, allocations: 15.89 kB / 1.143 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.038, allocations: 19.98 kB / 1.143 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004662/1.039, allocations: 398.8 kB / 1.144 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.039, allocations: 0 / 1.144 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000698/1.039, allocations: 207.6 kB / 1.144 GB, free: 8.891 MB / 0.9044 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.0004006/1.04, allocations: 173.4 kB / 1.144 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009249/1.041, allocations: 0.5209 MB / 1.144 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.041, allocations: 4.125 kB / 1.144 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/1.041, allocations: 246.6 kB / 1.145 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.043, allocations: 365.2 kB / 1.145 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.045, allocations: 1.213 MB / 1.146 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/1.045, allocations: 0.9171 MB / 1.147 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005115/1.046, allocations: 108.8 kB / 1.147 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/1.046, allocations: 35.44 kB / 1.147 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/1.046, allocations: 4 kB / 1.147 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of Templates: time 0.02154/1.067, allocations: 12.37 MB / 1.159 GB, free: 9.059 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches