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.001067/0.001067, 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.001294/0.001294, 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.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004965, allocations: 11.62 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2948, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.03699/0.3318, allocations: 37.07 MB / 1.094 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00687/0.3387, allocations: 3.882 MB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.3395, allocations: 31.75 kB / 1.098 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.3403, allocations: 262.3 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.3452, allocations: 2.055 MB / 1.1 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3471, allocations: 0.7103 MB / 1.101 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.3497, allocations: 2.475 MB / 1.103 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/0.3504, allocations: 477.3 kB / 1.104 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.354, allocations: 2.331 MB / 1.106 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.3548, allocations: 0.5094 MB / 1.107 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.3549, allocations: 28 kB / 1.107 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.36, allocations: 2.98 MB / 1.11 GB, free: 436 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3601, allocations: 127.5 kB / 1.11 GB, free: 308 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3603, allocations: 165.3 kB / 1.11 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.362, allocations: 1.243 MB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3621, allocations: 4 kB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3621, allocations: 0 / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3621, allocations: 0 / 1.111 GB, free: 14.88 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.001425/0.3635, allocations: 1.059 MB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3636, allocations: 8.031 kB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.3647, allocations: 155 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.366, allocations: 0.7599 MB / 1.113 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.3661, allocations: 41 kB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3662, allocations: 44 kB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.367, allocations: 0.5118 MB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.367, allocations: 4 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.3671, allocations: 23.95 kB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3671, allocations: 12 kB / 1.114 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.3677, allocations: 343.7 kB / 1.114 GB, free: 11.81 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.002485/0.3702, allocations: 2.436 MB / 1.116 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3706, allocations: 276.2 kB / 1.117 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3708, allocations: 136.8 kB / 1.117 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/0.3716, allocations: 1.366 MB / 1.118 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3717, allocations: 42.56 kB / 1.118 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.3717, allocations: 0 / 1.118 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.004044/0.3757, allocations: 1.785 MB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3758, allocations: 59.34 kB / 1.12 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.3764, allocations: 0.4912 MB / 1.12 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3764, allocations: 37.7 kB / 1.12 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3766, allocations: 324.4 kB / 1.121 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3768, allocations: 153.8 kB / 1.121 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.3768, allocations: 11.94 kB / 1.121 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.377, allocations: 370.8 kB / 1.121 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3772, allocations: 145 kB / 1.121 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.3775, allocations: 258.8 kB / 1.122 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.3778, allocations: 189.8 kB / 1.122 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3778, allocations: 4 kB / 1.122 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001011/0.3788, allocations: 0.6072 MB / 1.122 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/0.3789, allocations: 175.7 kB / 1.123 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.379, allocations: 4 kB / 1.123 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/0.3797, allocations: 193.5 kB / 1.123 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.3799, allocations: 75.89 kB / 1.123 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009647/0.3809, allocations: 1.335 MB / 1.124 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.3813, allocations: 39.95 kB / 1.124 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.3814, allocations: 24 kB / 1.124 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-06/0.3814, allocations: 4 kB / 1.124 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009254/0.3823, allocations: 0.536 MB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3823, allocations: 7.938 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.383, allocations: 189.9 kB / 1.125 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3832, allocations: 67.91 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000921/0.3842, allocations: 1.343 MB / 1.126 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.3845, allocations: 36.02 kB / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.3846, allocations: 20 kB / 1.126 GB, free: 14.25 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 (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.0002892/0.3849, allocations: 289 kB / 1.127 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.385, allocations: 63.25 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.3862, allocations: 0.63 MB / 1.127 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3862, allocations: 4 kB / 1.127 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3862, allocations: 4 kB / 1.127 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000863/0.3871, allocations: 0.6551 MB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.3892, allocations: 1.442 MB / 1.129 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3893, allocations: 4.031 kB / 1.129 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3894, allocations: 51.91 kB / 1.129 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009184/0.3904, allocations: 209.5 kB / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.3904, allocations: 16 kB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009945/0.3914, allocations: 1.327 MB / 1.131 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3914, allocations: 0 / 1.131 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3928, allocations: 0.8786 MB / 1.132 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.393, allocations: 200.2 kB / 1.132 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.3931, allocations: 11.95 kB / 1.132 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.3935, allocations: 40.12 kB / 1.132 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3936, allocations: 19.97 kB / 1.132 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.3936, allocations: 27.86 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000399/0.394, allocations: 346.8 kB / 1.132 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.394, allocations: 0 / 1.132 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001253/0.3953, allocations: 463.8 kB / 1.133 GB, free: 7.363 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 (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.0009709/0.3963, allocations: 446.9 kB / 1.133 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.3974, allocations: 0.6451 MB / 1.134 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3975, allocations: 0 / 1.134 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.3979, allocations: 244.8 kB / 1.134 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.3995, allocations: 317.2 kB / 1.134 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4017, allocations: 1.505 MB / 1.136 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.4022, allocations: 0.9108 MB / 1.137 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006395/0.4028, allocations: 206.6 kB / 1.137 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.403, allocations: 55.42 kB / 1.137 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.403, allocations: 0 / 1.137 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of Templates: time 0.02586/0.4289, allocations: 15.93 MB / 1.153 GB, free: 3.277 MB / 0.9044 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