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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001072/0.001072, allocations: 92.16 kB / 16.02 MB, free: 80 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.001256/0.001256, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.819/2.819, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005947/0.0005946, allocations: 9.062 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3571, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04557/0.4027, allocations: 39.82 MB / 1.098 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008549/0.4113, allocations: 4.109 MB / 1.102 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.4129, allocations: 27.81 kB / 1.102 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.4141, allocations: 294.3 kB / 1.103 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006987/0.4212, allocations: 2.275 MB / 1.105 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.424, allocations: 0.8363 MB / 1.106 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003961/0.4279, allocations: 2.9 MB / 1.108 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.4291, allocations: 0.5216 MB / 1.109 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.4337, allocations: 2.442 MB / 1.111 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.435, allocations: 0.5482 MB / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.4352, allocations: 24 kB / 1.112 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006292/0.4415, allocations: 3.367 MB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.4418, allocations: 139.4 kB / 1.115 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.4426, allocations: 379.7 kB / 1.116 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.4455, allocations: 1.329 MB / 1.117 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4455, allocations: 0 / 1.117 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4455, allocations: 3.938 kB / 1.117 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.546e-05/0.4456, allocations: 0 / 1.117 GB, free: 9.809 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.002109/0.4477, allocations: 1.044 MB / 1.118 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4478, allocations: 20.02 kB / 1.118 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.4492, allocations: 147.9 kB / 1.118 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.4509, allocations: 0.7951 MB / 1.119 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.4509, allocations: 33 kB / 1.119 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.451, allocations: 44 kB / 1.119 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/0.452, allocations: 0.5196 MB / 1.119 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.452, allocations: 3.938 kB / 1.119 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.4521, allocations: 20 kB / 1.119 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4521, allocations: 12 kB / 1.119 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.4527, allocations: 339.7 kB / 1.12 GB, free: 6.719 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.003148/0.4559, allocations: 2.443 MB / 1.122 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.4563, allocations: 274.7 kB / 1.122 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.4566, allocations: 144 kB / 1.123 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.4576, allocations: 1.378 MB / 1.124 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.4577, allocations: 38.56 kB / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.724e-06/0.4577, allocations: 0 / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.004582/0.4623, allocations: 1.786 MB / 1.126 GB, free: 64 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.4623, allocations: 59.41 kB / 1.126 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.463, allocations: 0.4989 MB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.4631, allocations: 33.7 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.4633, allocations: 328.4 kB / 1.127 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.4635, allocations: 149.8 kB / 1.127 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/0.4636, allocations: 45.69 kB / 1.127 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4637, allocations: 362.8 kB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.464, allocations: 149 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.4643, allocations: 266.7 kB / 1.128 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.4649, allocations: 440.9 kB / 1.128 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4649, allocations: 4 kB / 1.128 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001014/0.4659, allocations: 0.6108 MB / 1.129 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.4661, allocations: 175.5 kB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4661, allocations: 4 kB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007533/0.4669, allocations: 193.6 kB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4671, allocations: 75.78 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.4682, allocations: 1.347 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.4688, allocations: 35.81 kB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.4688, allocations: 24 kB / 1.13 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4688, allocations: 9.938 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008872/0.4697, allocations: 0.528 MB / 1.131 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4698, allocations: 4.078 kB / 1.131 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.4704, allocations: 197.9 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.4707, allocations: 67.91 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.4717, allocations: 1.355 MB / 1.132 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.4722, allocations: 31.89 kB / 1.133 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.4723, allocations: 20 kB / 1.133 GB, free: 8.793 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.00037/0.4727, allocations: 289 kB / 1.133 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4728, allocations: 63.28 kB / 1.133 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.4741, allocations: 0.6352 MB / 1.133 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4741, allocations: 7.938 kB / 1.133 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4741, allocations: 3.938 kB / 1.133 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009082/0.475, allocations: 0.6551 MB / 1.134 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.4774, allocations: 1.449 MB / 1.136 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4774, allocations: 0 / 1.136 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.4776, allocations: 43.97 kB / 1.136 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009686/0.4786, allocations: 225.5 kB / 1.136 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.4786, allocations: 12 kB / 1.136 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.4797, allocations: 1.323 MB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4797, allocations: 0 / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.4811, allocations: 0.8864 MB / 1.138 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.4814, allocations: 188.3 kB / 1.138 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.4815, allocations: 12 kB / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.482, allocations: 23.97 kB / 1.138 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.482, allocations: 31.97 kB / 1.138 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.4821, allocations: 23.98 kB / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004463/0.4825, allocations: 350.8 kB / 1.139 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4825, allocations: 3.938 kB / 1.139 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001501/0.484, allocations: 463.8 kB / 1.139 GB, free: 1.895 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.001181/0.4852, allocations: 458 kB / 1.139 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.4866, allocations: 0.6771 MB / 1.14 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4866, allocations: 3.938 kB / 1.14 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.4871, allocations: 231.8 kB / 1.14 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.4889, allocations: 326.2 kB / 1.141 GB, free: 228 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.4913, allocations: 1.534 MB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.492, allocations: 0.9184 MB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.4922, allocations: 71.34 kB / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.825e-06/0.4922, allocations: 0 / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Templates: time 0.02616/0.5184, allocations: 18.33 MB / 1.161 GB, free: 11.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches