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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001042/0.001041, allocations: 90.44 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.001496/0.001496, allocations: 184.4 kB / 16.92 MB, free: 6.926 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.406/1.406, 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 10.1.0-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 12 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7217, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.06643/0.7882, allocations: 39.81 MB / 1.063 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.7987, allocations: 4.104 MB / 1.067 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.8006, allocations: 27.81 kB / 1.067 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.8021, allocations: 298.3 kB / 1.067 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009072/0.8112, allocations: 2.277 MB / 1.069 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.8149, allocations: 0.8348 MB / 1.07 GB, free: 400 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005716/0.8206, allocations: 2.896 MB / 1.073 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.8221, allocations: 0.5255 MB / 1.073 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.828, allocations: 2.438 MB / 1.076 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.8296, allocations: 0.5443 MB / 1.076 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.8298, allocations: 24 kB / 1.076 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007732/0.8376, allocations: 3.369 MB / 1.079 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.838, allocations: 147.3 kB / 1.08 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.8388, allocations: 379.7 kB / 1.08 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.8418, allocations: 1.325 MB / 1.081 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8418, allocations: 0 / 1.081 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8419, allocations: 0 / 1.081 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.883e-05/0.8419, allocations: 0 / 1.081 GB, free: 4.699 MB / 0.8262 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.002243/0.8441, allocations: 1.048 MB / 1.082 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.8442, allocations: 16.02 kB / 1.082 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.8456, allocations: 155.9 kB / 1.082 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.8474, allocations: 0.7912 MB / 1.083 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.8474, allocations: 33 kB / 1.083 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.8475, allocations: 44 kB / 1.083 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009612/0.8485, allocations: 0.5273 MB / 1.084 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.8485, allocations: 0 / 1.084 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.8486, allocations: 24 kB / 1.084 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.8486, allocations: 12 kB / 1.084 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.8492, allocations: 335.7 kB / 1.084 GB, free: 1.602 MB / 0.8262 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.003129/0.8524, allocations: 2.451 MB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.8528, allocations: 273.6 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.8531, allocations: 140.8 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.8541, allocations: 1.374 MB / 1.088 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.8541, allocations: 34.56 kB / 1.088 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.8542, allocations: 0 / 1.088 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.004612/0.8588, allocations: 1.798 MB / 1.09 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.8588, allocations: 55.41 kB / 1.09 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.8596, allocations: 0.499 MB / 1.091 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.8597, allocations: 33.7 kB / 1.091 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.86, allocations: 324.4 kB / 1.091 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.8601, allocations: 149.8 kB / 1.091 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.8602, allocations: 49.69 kB / 1.091 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8604, allocations: 362.8 kB / 1.092 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.8607, allocations: 153 kB / 1.092 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.861, allocations: 262.8 kB / 1.092 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.8617, allocations: 452.8 kB / 1.092 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8617, allocations: 0 / 1.092 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001088/0.8628, allocations: 0.6071 MB / 1.093 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.863, allocations: 171.3 kB / 1.093 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.863, allocations: 4 kB / 1.093 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/0.8637, allocations: 201.5 kB / 1.093 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.864, allocations: 67.91 kB / 1.093 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.8652, allocations: 1.358 MB / 1.095 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.8657, allocations: 27.97 kB / 1.095 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.8658, allocations: 20 kB / 1.095 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.8658, allocations: 4 kB / 1.095 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009139/0.8667, allocations: 0.5245 MB / 1.095 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.8667, allocations: 4 kB / 1.095 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.8674, allocations: 201.9 kB / 1.095 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.8677, allocations: 71.91 kB / 1.096 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.8688, allocations: 1.354 MB / 1.097 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.8693, allocations: 27.92 kB / 1.097 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.8694, allocations: 20 kB / 1.097 GB, free: 3.676 MB / 0.8419 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.0004226/0.8698, allocations: 289.8 kB / 1.097 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.87, allocations: 67.19 kB / 1.097 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.8714, allocations: 0.6378 MB / 1.098 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.8714, allocations: 4 kB / 1.098 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.8714, allocations: 7.938 kB / 1.098 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009472/0.8723, allocations: 0.6511 MB / 1.099 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.8748, allocations: 1.451 MB / 1.1 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8749, allocations: 0 / 1.1 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.8751, allocations: 55.84 kB / 1.1 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009886/0.8761, allocations: 217.5 kB / 1.1 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.8761, allocations: 12 kB / 1.1 GB, free: 148 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.8773, allocations: 1.327 MB / 1.101 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8773, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.8788, allocations: 0.8809 MB / 1.102 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.8792, allocations: 188.3 kB / 1.103 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.8793, allocations: 12 kB / 1.103 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.8798, allocations: 31.81 kB / 1.103 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.8799, allocations: 31.91 kB / 1.103 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.8799, allocations: 24.05 kB / 1.103 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000493/0.8804, allocations: 350.8 kB / 1.103 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8804, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001624/0.8821, allocations: 455.8 kB / 1.103 GB, free: 12.77 MB / 0.8575 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.001383/0.8835, allocations: 462.1 kB / 1.104 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.8849, allocations: 0.6693 MB / 1.104 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8849, allocations: 0 / 1.104 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.8855, allocations: 247.7 kB / 1.105 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.8873, allocations: 324.6 kB / 1.105 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.8899, allocations: 1.537 MB / 1.107 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.8905, allocations: 0.9105 MB / 1.107 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.8907, allocations: 67.41 kB / 1.107 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of SimCode: time 1.202e-06/0.8907, allocations: 4 kB / 1.107 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of Templates: time 0.02705/0.9177, allocations: 18.31 MB / 1.125 GB, free: 6.297 MB / 0.8731 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