Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007865/0.007865, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003421, allocations: 9.094 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04186/0.3655, allocations: 39.82 MB / 1.098 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008146/0.3737, allocations: 4.102 MB / 1.102 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009418/0.3747, allocations: 35.81 kB / 1.102 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000883/0.3755, allocations: 290.3 kB / 1.102 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008507/0.3841, allocations: 2.28 MB / 1.104 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.3871, allocations: 0.8372 MB / 1.105 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003955/0.3911, allocations: 2.903 MB / 1.108 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008643/0.3919, allocations: 0.5216 MB / 1.108 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00463/0.3966, allocations: 2.438 MB / 1.111 GB, free: 132 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.3978, allocations: 0.5443 MB / 1.111 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.3979, allocations: 24 kB / 1.111 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/0.4037, allocations: 3.364 MB / 1.114 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.404, allocations: 135.4 kB / 1.115 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.4045, allocations: 383.7 kB / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.4078, allocations: 1.772 MB / 1.117 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4078, allocations: 0 / 1.117 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4078, allocations: 0 / 1.117 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4078, allocations: 4 kB / 1.117 GB, free: 9.891 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001743/0.4096, allocations: 1.048 MB / 1.118 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4097, allocations: 8.031 kB / 1.118 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.4117, allocations: 155.9 kB / 1.118 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.4137, allocations: 0.7913 MB / 1.119 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.4137, allocations: 37 kB / 1.119 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4139, allocations: 44 kB / 1.119 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.4152, allocations: 0.5157 MB / 1.119 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.4152, allocations: 4 kB / 1.119 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.4153, allocations: 20 kB / 1.119 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4153, allocations: 12 kB / 1.119 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.4161, allocations: 343.7 kB / 1.12 GB, free: 6.805 MB / 0.8731 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.002767/0.4189, allocations: 2.451 MB / 1.122 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.4193, allocations: 276.3 kB / 1.122 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.4195, allocations: 136.8 kB / 1.122 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009497/0.4205, allocations: 1.366 MB / 1.124 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.4205, allocations: 42.56 kB / 1.124 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.4205, allocations: 0 / 1.124 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.004278/0.4248, allocations: 1.79 MB / 1.126 GB, free: 152 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4249, allocations: 59.34 kB / 1.126 GB, free: 80 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.4255, allocations: 0.4989 MB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4255, allocations: 37.7 kB / 1.126 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4258, allocations: 324.4 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.426, allocations: 153.8 kB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.4261, allocations: 41.7 kB / 1.127 GB, free: 15 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4262, allocations: 366.8 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.4265, allocations: 149 kB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.4268, allocations: 262.8 kB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.4274, allocations: 448.8 kB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4274, allocations: 0 / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001012/0.4285, allocations: 0.6031 MB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.4286, allocations: 176 kB / 1.129 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4286, allocations: 4 kB / 1.129 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/0.4294, allocations: 201.5 kB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.4296, allocations: 67.91 kB / 1.129 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.4307, allocations: 1.351 MB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.4312, allocations: 39.95 kB / 1.13 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.4312, allocations: 23.98 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.4313, allocations: 4.938 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008833/0.4322, allocations: 0.5357 MB / 1.131 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4322, allocations: 0 / 1.131 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/0.4328, allocations: 193.5 kB / 1.131 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.4331, allocations: 71.91 kB / 1.131 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.4341, allocations: 1.347 MB / 1.132 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.4346, allocations: 40 kB / 1.132 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.4346, allocations: 20 kB / 1.132 GB, free: 8.875 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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 {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003862/0.435, allocations: 290.3 kB / 1.133 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4351, allocations: 63.28 kB / 1.133 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.4364, allocations: 0.6224 MB / 1.133 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.4364, allocations: 4 kB / 1.133 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4364, allocations: 3.938 kB / 1.133 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009102/0.4374, allocations: 0.6586 MB / 1.134 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.4397, allocations: 1.442 MB / 1.135 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4397, allocations: 0 / 1.135 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.4399, allocations: 55.95 kB / 1.135 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009826/0.4409, allocations: 217.5 kB / 1.136 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.4409, allocations: 15.98 kB / 1.136 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.442, allocations: 1.335 MB / 1.137 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.442, allocations: 0 / 1.137 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.4434, allocations: 0.8787 MB / 1.138 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.4436, allocations: 196.3 kB / 1.138 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.4437, allocations: 8 kB / 1.138 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.4441, allocations: 28.23 kB / 1.138 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.4442, allocations: 35.89 kB / 1.138 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.4442, allocations: 19.92 kB / 1.138 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00046/0.4447, allocations: 350.8 kB / 1.138 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4447, allocations: 0 / 1.138 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001599/0.4463, allocations: 459.8 kB / 1.139 GB, free: 1.984 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,7), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.4474, allocations: 456.3 kB / 1.139 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.4487, allocations: 0.6637 MB / 1.14 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4487, allocations: 0 / 1.14 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.4492, allocations: 252.9 kB / 1.14 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.4508, allocations: 320.1 kB / 1.14 GB, free: 328 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4531, allocations: 1.523 MB / 1.142 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.4536, allocations: 0.9145 MB / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000619/0.4542, allocations: 198.4 kB / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.4544, allocations: 59.42 kB / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of SimCode: time 2.324e-06/0.4544, allocations: 0 / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.0304/0.4848, allocations: 16.26 MB / 1.159 GB, free: 13.49 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches