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.0009715/0.0009717, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001186/0.001186, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.32 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.642/2.642, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5773, allocations: 153.8 MB / 1.022 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.03993/0.6173, allocations: 37.06 MB / 1.059 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007312/0.6247, allocations: 3.892 MB / 1.062 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.6258, allocations: 35.75 kB / 1.062 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009675/0.6268, allocations: 254.3 kB / 1.063 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.6323, allocations: 2.059 MB / 1.065 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.6344, allocations: 0.7089 MB / 1.065 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.6374, allocations: 2.468 MB / 1.068 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000878/0.6383, allocations: 481.2 kB / 1.068 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.6424, allocations: 2.339 MB / 1.071 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.6433, allocations: 0.5133 MB / 1.071 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.6434, allocations: 24 kB / 1.071 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00562/0.649, allocations: 2.984 MB / 1.074 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.6493, allocations: 123.5 kB / 1.074 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.6495, allocations: 161.3 kB / 1.074 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6515, allocations: 1.243 MB / 1.075 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6516, allocations: 4 kB / 1.075 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6516, allocations: 3.938 kB / 1.075 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.6516, allocations: 0 / 1.075 GB, free: 9.746 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.001872/0.6535, allocations: 1.055 MB / 1.076 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6535, allocations: 8.031 kB / 1.076 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.6548, allocations: 158.9 kB / 1.077 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.6565, allocations: 0.7638 MB / 1.077 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.6565, allocations: 33 kB / 1.077 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6567, allocations: 48 kB / 1.077 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6579, allocations: 0.5157 MB / 1.078 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.6579, allocations: 0 / 1.078 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.658, allocations: 16 kB / 1.078 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.658, allocations: 15.95 kB / 1.078 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/0.6589, allocations: 339.7 kB / 1.078 GB, free: 6.68 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.002954/0.6619, allocations: 2.443 MB / 1.081 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.6623, allocations: 276 kB / 1.081 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.6625, allocations: 140.8 kB / 1.081 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/0.6634, allocations: 1.366 MB / 1.082 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.6634, allocations: 42.55 kB / 1.082 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.6635, allocations: 0 / 1.082 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43): time 0.004222/0.6677, allocations: 1.787 MB / 1.084 GB, free: 28 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.6677, allocations: 63.36 kB / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.6683, allocations: 495.1 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.6684, allocations: 37.64 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.6686, allocations: 324.4 kB / 1.085 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.6688, allocations: 153.8 kB / 1.085 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.6688, allocations: 8 kB / 1.085 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.669, allocations: 366.8 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.6692, allocations: 145 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.6695, allocations: 266.7 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.6698, allocations: 193.5 kB / 1.086 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6699, allocations: 0 / 1.086 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001058/0.6709, allocations: 0.6074 MB / 1.087 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.6711, allocations: 179.8 kB / 1.087 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6711, allocations: 4 kB / 1.087 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.6718, allocations: 193.5 kB / 1.087 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.672, allocations: 67.91 kB / 1.087 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.6731, allocations: 1.347 MB / 1.089 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.6735, allocations: 36.02 kB / 1.089 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.6736, allocations: 27.98 kB / 1.089 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.6736, allocations: 4 kB / 1.089 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009288/0.6745, allocations: 0.5281 MB / 1.089 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6745, allocations: 4 kB / 1.089 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.6752, allocations: 197.4 kB / 1.089 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.6754, allocations: 67.91 kB / 1.089 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009916/0.6764, allocations: 1.339 MB / 1.091 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.6768, allocations: 39.95 kB / 1.091 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.6769, allocations: 24 kB / 1.091 GB, free: 9.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003396/0.6772, allocations: 285 kB / 1.091 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6773, allocations: 59.25 kB / 1.091 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.6785, allocations: 0.6456 MB / 1.092 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6786, allocations: 4.188 kB / 1.092 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6786, allocations: 0 / 1.092 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008427/0.6794, allocations: 0.6547 MB / 1.092 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.6816, allocations: 1.435 MB / 1.094 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6816, allocations: 0 / 1.094 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.6818, allocations: 59.91 kB / 1.094 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000921/0.6827, allocations: 217.4 kB / 1.094 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.6828, allocations: 12 kB / 1.094 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.6838, allocations: 1.327 MB / 1.095 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6838, allocations: 4.031 kB / 1.095 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.6852, allocations: 0.8654 MB / 1.096 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.6855, allocations: 196.3 kB / 1.096 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.6856, allocations: 12 kB / 1.096 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.686, allocations: 39.83 kB / 1.096 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.6861, allocations: 23.97 kB / 1.096 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.6861, allocations: 23.98 kB / 1.096 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000408/0.6865, allocations: 346.8 kB / 1.097 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6865, allocations: 0 / 1.097 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001315/0.6879, allocations: 455.8 kB / 1.097 GB, free: 2.23 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.689, allocations: 454 kB / 1.098 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.6902, allocations: 0.6445 MB / 1.098 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6902, allocations: 0 / 1.098 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.6907, allocations: 235.7 kB / 1.098 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.6922, allocations: 331.9 kB / 1.099 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.6944, allocations: 1.497 MB / 1.1 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.695, allocations: 0.9184 MB / 1.101 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006717/0.6956, allocations: 205.1 kB / 1.101 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.6958, allocations: 59.41 kB / 1.101 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of SimCode: time 5.72e-07/0.6958, allocations: 0 / 1.101 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of Templates: time 0.02811/0.7239, allocations: 15.92 MB / 1.117 GB, free: 14.14 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches