Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_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_10_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.001701/0.001701, allocations: 111.1 kB / 16.42 MB, free: 6.469 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.001922/0.001922, allocations: 187.9 kB / 17.35 MB, free: 5.715 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: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.733, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.0499/0.783, allocations: 40.34 MB / 1.207 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008505/0.7915, allocations: 4.096 MB / 1.211 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.7929, allocations: 39.75 kB / 1.211 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.7943, allocations: 345.7 kB / 1.211 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.8014, allocations: 2.546 MB / 1.214 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.8041, allocations: 0.9221 MB / 1.214 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.8074, allocations: 2.21 MB / 1.217 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.8086, allocations: 0.6295 MB / 1.217 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.8137, allocations: 2.397 MB / 1.22 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.8148, allocations: 0.5483 MB / 1.22 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.815, allocations: 60 kB / 1.22 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006354/0.8214, allocations: 3.203 MB / 1.223 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.8218, allocations: 175.4 kB / 1.223 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000817/0.8226, allocations: 394.1 kB / 1.224 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.8273, allocations: 1.831 MB / 1.226 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.8274, allocations: 4 kB / 1.226 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8274, allocations: 7.938 kB / 1.226 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.122e-05/0.8274, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9512 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.002624/0.83, allocations: 1.182 MB / 1.227 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.8301, allocations: 12.03 kB / 1.227 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.8316, allocations: 148 kB / 1.227 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.8334, allocations: 0.7951 MB / 1.228 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.8335, allocations: 37 kB / 1.228 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.8336, allocations: 44 kB / 1.228 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.8346, allocations: 0.5273 MB / 1.228 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.8346, allocations: 3.938 kB / 1.228 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.8347, allocations: 24 kB / 1.228 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.8347, allocations: 15.98 kB / 1.228 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.8353, allocations: 339.7 kB / 1.229 GB, free: 4.715 MB / 0.9512 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.003285/0.8386, allocations: 2.443 MB / 1.231 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.8391, allocations: 266.5 kB / 1.231 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.8393, allocations: 136.8 kB / 1.231 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.8404, allocations: 1.374 MB / 1.233 GB, free: 0 / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.8405, allocations: 38.61 kB / 1.233 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/0.8405, allocations: 3.984 kB / 1.233 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43): time 0.004726/0.8452, allocations: 1.792 MB / 1.235 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.8453, allocations: 55.41 kB / 1.235 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.846, allocations: 0.4991 MB / 1.235 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.8461, allocations: 41.53 kB / 1.235 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.8463, allocations: 324.4 kB / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.8465, allocations: 153.7 kB / 1.236 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.8466, allocations: 98.14 kB / 1.236 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8468, allocations: 362.8 kB / 1.236 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.8471, allocations: 155 kB / 1.236 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.8474, allocations: 266.7 kB / 1.236 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.8481, allocations: 445 kB / 1.237 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8481, allocations: 0 / 1.237 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001105/0.8492, allocations: 0.6071 MB / 1.237 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.8492, allocations: 8 kB / 1.237 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8492, allocations: 0 / 1.237 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/0.85, allocations: 193.5 kB / 1.238 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.8503, allocations: 71.91 kB / 1.238 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.8516, allocations: 1.362 MB / 1.239 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.8521, allocations: 19.89 kB / 1.239 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.8521, allocations: 24 kB / 1.239 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004723/0.8526, allocations: 309.2 kB / 1.239 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003838/0.853, allocations: 266.5 kB / 1.24 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006455/0.8537, allocations: 438.8 kB / 1.24 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.8537, allocations: 0 / 1.24 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001105/0.8548, allocations: 0.5994 MB / 1.241 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.8548, allocations: 11.98 kB / 1.241 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8548, allocations: 4 kB / 1.241 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.8556, allocations: 189.5 kB / 1.241 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.8559, allocations: 68.16 kB / 1.241 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.8571, allocations: 1.347 MB / 1.242 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.8576, allocations: 19.98 kB / 1.242 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.8577, allocations: 20 kB / 1.242 GB, free: 5.812 MB / 0.9669 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.0002326/0.8579, allocations: 208.3 kB / 1.242 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.8581, allocations: 67.19 kB / 1.243 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.8595, allocations: 0.634 MB / 1.243 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.8605, allocations: 0.6589 MB / 1.244 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.8605, allocations: 0 / 1.244 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.8608, allocations: 188.3 kB / 1.244 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.861, allocations: 8.188 kB / 1.244 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.8614, allocations: 19.92 kB / 1.244 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.8615, allocations: 27.91 kB / 1.244 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001544/0.863, allocations: 0.6731 MB / 1.245 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001189/0.8642, allocations: 0.8277 MB / 1.245 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003305/0.8646, allocations: 185.7 kB / 1.246 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005273/0.8651, allocations: 354.8 kB / 1.246 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of Backend: time 6.91e-07/0.8651, allocations: 0 / 1.246 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.8686, allocations: 1.167 MB / 1.247 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003269/0.8718, allocations: 1.913 MB / 1.249 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.03391/0.9058, allocations: 20.01 MB / 1.269 GB, free: 10.93 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches