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.001022/0.001023, allocations: 98.88 kB / 16.02 MB, free: 76 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.00125/0.001251, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 443.2 MB / 0.7181 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.000391, allocations: 15.94 kB / 0.8801 GB, free: 42.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 155.2 MB / 1.032 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05736/0.4031, allocations: 59.8 MB / 1.09 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.42, allocations: 11.9 MB / 1.102 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.4224, allocations: 55.56 kB / 1.102 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.4245, allocations: 0.5555 MB / 1.102 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.4304, allocations: 1.8 MB / 1.104 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.4336, allocations: 1.086 MB / 1.105 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005338/0.4389, allocations: 3.894 MB / 1.109 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.4406, allocations: 0.8983 MB / 1.11 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.4434, allocations: 1.116 MB / 1.111 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.4449, allocations: 0.867 MB / 1.112 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.4451, allocations: 40 kB / 1.112 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.4481, allocations: 1.353 MB / 1.113 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.4484, allocations: 214.8 kB / 1.113 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008803/0.4493, allocations: 0.6311 MB / 1.114 GB, free: 224 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.4516, allocations: 1.699 MB / 1.116 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4516, allocations: 0 / 1.116 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4516, allocations: 0 / 1.116 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.4517, allocations: 0 / 1.116 GB, free: 14.52 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002922/0.4546, allocations: 1.489 MB / 1.117 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4547, allocations: 8.031 kB / 1.117 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.4564, allocations: 391 kB / 1.117 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.4587, allocations: 1.124 MB / 1.118 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.4591, allocations: 121.9 kB / 1.119 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.4592, allocations: 84 kB / 1.119 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.4612, allocations: 0.9661 MB / 1.12 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4612, allocations: 0 / 1.12 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.4613, allocations: 36 kB / 1.12 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.4613, allocations: 20 kB / 1.12 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.4635, allocations: 0.8548 MB / 1.12 GB, free: 9.277 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.006482/0.47, allocations: 4.796 MB / 1.125 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.4717, allocations: 0.6062 MB / 1.126 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/0.4723, allocations: 280.7 kB / 1.126 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.4738, allocations: 1.392 MB / 1.127 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4738, allocations: 42.5 kB / 1.127 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.4738, allocations: 0 / 1.127 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.008988/0.4828, allocations: 2.051 MB / 1.129 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4829, allocations: 55.41 kB / 1.129 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.485, allocations: 1.059 MB / 1.13 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.4851, allocations: 33.7 kB / 1.131 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.4856, allocations: 0.5235 MB / 1.131 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.4858, allocations: 145.8 kB / 1.131 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4859, allocations: 49.69 kB / 1.131 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4861, allocations: 326 kB / 1.132 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008639/0.4869, allocations: 292.9 kB / 1.132 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.488, allocations: 0.4903 MB / 1.132 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4895, allocations: 0.6663 MB / 1.133 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4896, allocations: 0 / 1.133 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002848/0.4924, allocations: 0.9804 MB / 1.134 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.4926, allocations: 204.4 kB / 1.134 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4926, allocations: 4 kB / 1.134 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.494, allocations: 336.6 kB / 1.134 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.4946, allocations: 119.8 kB / 1.135 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.4962, allocations: 0.9438 MB / 1.135 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4977, allocations: 179.3 kB / 1.136 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/0.4978, allocations: 24 kB / 1.136 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4978, allocations: 8 kB / 1.136 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002439/0.5003, allocations: 0.8398 MB / 1.136 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5003, allocations: 8 kB / 1.136 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.5016, allocations: 338.5 kB / 1.137 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.5021, allocations: 107.9 kB / 1.137 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.5037, allocations: 0.9386 MB / 1.138 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.5049, allocations: 155.4 kB / 1.138 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.864e-05/0.5051, allocations: 31.92 kB / 1.138 GB, free: 6.277 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006639/0.5057, allocations: 360.9 kB / 1.138 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.506, allocations: 114.7 kB / 1.138 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/0.5101, allocations: 1.148 MB / 1.14 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.5102, allocations: 7.984 kB / 1.14 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.5102, allocations: 0 / 1.14 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5102, allocations: 0 / 1.14 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.5159, allocations: 2.158 MB / 1.142 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.516, allocations: 4 kB / 1.142 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.5162, allocations: 55.91 kB / 1.142 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.5173, allocations: 329.3 kB / 1.142 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.5174, allocations: 15.98 kB / 1.142 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.5191, allocations: 0.9848 MB / 1.143 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5191, allocations: 0 / 1.143 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.523, allocations: 1.195 MB / 1.144 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/0.5236, allocations: 283.4 kB / 1.144 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.5239, allocations: 8 kB / 1.144 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5249, allocations: 107.8 kB / 1.145 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.5251, allocations: 35.89 kB / 1.145 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.5251, allocations: 27.92 kB / 1.145 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001473/0.5266, allocations: 0.7467 MB / 1.145 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5266, allocations: 0 / 1.145 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001927/0.5286, allocations: 0.5613 MB / 1.146 GB, free: 13.96 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.5296, allocations: 408.1 kB / 1.146 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003088/0.5327, allocations: 1.05 MB / 1.147 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.5328, allocations: 4 kB / 1.147 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.5336, allocations: 333.2 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.5369, allocations: 0.506 MB / 1.148 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.5413, allocations: 2.286 MB / 1.15 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.5421, allocations: 1.062 MB / 1.151 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.5424, allocations: 83.36 kB / 1.152 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of SimCode: time 6.42e-07/0.5424, allocations: 0 / 1.152 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.03553/0.5779, allocations: 23.76 MB / 1.175 GB, free: 0.5625 MB / 0.92 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/jenkins1/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