Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 91.69 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.001075/0.001076, 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.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.748/2.748, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 11.56 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2536, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05523/0.3089, allocations: 56.54 MB / 1.113 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.3236, allocations: 11.22 MB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.3253, allocations: 47.69 kB / 1.124 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3269, allocations: 472.8 kB / 1.125 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.3312, allocations: 1.531 MB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.3337, allocations: 0.8595 MB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003958/0.3377, allocations: 3.39 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.3391, allocations: 0.7938 MB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.3413, allocations: 1.038 MB / 1.132 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.3427, allocations: 0.805 MB / 1.133 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.3429, allocations: 40 kB / 1.133 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.3452, allocations: 1.107 MB / 1.134 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.3456, allocations: 199 kB / 1.134 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.346, allocations: 281 kB / 1.134 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.348, allocations: 1.656 MB / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.348, allocations: 0 / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.348, allocations: 0 / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.579e-05/0.3481, allocations: 0 / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002889/0.351, allocations: 1.497 MB / 1.138 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.351, allocations: 11.97 kB / 1.138 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3527, allocations: 390 kB / 1.138 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.3549, allocations: 1.082 MB / 1.139 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.3553, allocations: 129.9 kB / 1.139 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3554, allocations: 80 kB / 1.139 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.3574, allocations: 0.966 MB / 1.14 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3574, allocations: 3.938 kB / 1.14 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.3575, allocations: 32 kB / 1.14 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3575, allocations: 20 kB / 1.14 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.3596, allocations: 0.8432 MB / 1.141 GB, free: 15.98 MB / 0.9044 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.006047/0.3657, allocations: 4.8 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.3672, allocations: 0.6035 MB / 1.146 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.3678, allocations: 280.7 kB / 1.147 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.3691, allocations: 1.388 MB / 1.148 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3691, allocations: 42.56 kB / 1.148 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.3691, allocations: 0 / 1.148 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007629/0.3768, allocations: 2.039 MB / 1.15 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3768, allocations: 55.41 kB / 1.15 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.3784, allocations: 1.047 MB / 1.151 GB, free: 5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.3784, allocations: 37.7 kB / 1.151 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.3789, allocations: 0.5196 MB / 1.152 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.379, allocations: 153.8 kB / 1.152 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3791, allocations: 12 kB / 1.152 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3792, allocations: 329.9 kB / 1.152 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.3799, allocations: 284.9 kB / 1.152 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008809/0.3808, allocations: 498.8 kB / 1.153 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.3816, allocations: 323.3 kB / 1.153 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3816, allocations: 4 kB / 1.153 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003192/0.3848, allocations: 1.136 MB / 1.154 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.385, allocations: 204.4 kB / 1.154 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.385, allocations: 8 kB / 1.154 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.3862, allocations: 324.7 kB / 1.155 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.3867, allocations: 123.8 kB / 1.155 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.3881, allocations: 0.9415 MB / 1.156 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3892, allocations: 179.3 kB / 1.156 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.3893, allocations: 35.92 kB / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.3893, allocations: 5.562 kB / 1.156 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00285/0.3922, allocations: 0.9961 MB / 1.157 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3922, allocations: 7.938 kB / 1.157 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3933, allocations: 324.7 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.3937, allocations: 111.9 kB / 1.157 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.3951, allocations: 0.9386 MB / 1.158 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/0.396, allocations: 151.5 kB / 1.158 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.3961, allocations: 39.92 kB / 1.158 GB, free: 13.14 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004501/0.3966, allocations: 350.4 kB / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.3968, allocations: 110.6 kB / 1.159 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.4002, allocations: 1.152 MB / 1.16 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4002, allocations: 11.95 kB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4002, allocations: 0 / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4002, allocations: 7.984 kB / 1.16 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/0.4047, allocations: 2.142 MB / 1.162 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4047, allocations: 4 kB / 1.162 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.4049, allocations: 55.91 kB / 1.162 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009912/0.4059, allocations: 328.9 kB / 1.163 GB, free: 8.898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.406, allocations: 19.98 kB / 1.163 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.4074, allocations: 0.9736 MB / 1.163 GB, free: 7.883 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4074, allocations: 4.031 kB / 1.163 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.4106, allocations: 1.199 MB / 1.165 GB, free: 6.633 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.411, allocations: 275.4 kB / 1.165 GB, free: 6.344 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4111, allocations: 15.98 kB / 1.165 GB, free: 6.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/0.4119, allocations: 99.84 kB / 1.165 GB, free: 6.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.412, allocations: 39.89 kB / 1.165 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.4121, allocations: 16 kB / 1.165 GB, free: 6.176 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001135/0.4132, allocations: 0.7428 MB / 1.166 GB, free: 5.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4133, allocations: 3.938 kB / 1.166 GB, free: 5.422 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001452/0.4147, allocations: 0.5614 MB / 1.166 GB, free: 4.859 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007675/0.4155, allocations: 392.6 kB / 1.167 GB, free: 4.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.4181, allocations: 1.046 MB / 1.168 GB, free: 3.434 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4181, allocations: 0 / 1.168 GB, free: 3.434 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.4189, allocations: 337.5 kB / 1.168 GB, free: 3.105 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.4212, allocations: 0.4906 MB / 1.169 GB, free: 2.617 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.4246, allocations: 2.205 MB / 1.171 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.4253, allocations: 1.069 MB / 1.172 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000859/0.4262, allocations: 220.2 kB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.4263, allocations: 71.42 kB / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.4264, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of Templates: time 0.03688/0.4632, allocations: 23.2 MB / 1.195 GB, free: 8.059 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches