Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007681/0.0007681, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.00478/0.00478, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 462.6 MB / 0.7364 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 16.94 kB / 0.9027 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06584/0.3976, allocations: 59.82 MB / 1.117 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.4156, allocations: 11.95 MB / 1.129 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.4187, allocations: 55.62 kB / 1.129 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.4212, allocations: 0.5438 MB / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006644/0.4278, allocations: 1.816 MB / 1.131 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.4314, allocations: 1.076 MB / 1.132 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005948/0.4373, allocations: 3.921 MB / 1.136 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.4397, allocations: 0.9112 MB / 1.137 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.4433, allocations: 1.128 MB / 1.138 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.4459, allocations: 0.8592 MB / 1.139 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005077/0.4464, allocations: 47.94 kB / 1.139 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.4505, allocations: 1.325 MB / 1.14 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.4511, allocations: 210.9 kB / 1.14 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.4527, allocations: 0.6428 MB / 1.141 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004951/0.4577, allocations: 2.2 MB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4577, allocations: 0 / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4577, allocations: 4 kB / 1.143 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.402e-05/0.4578, allocations: 0 / 1.143 GB, free: 14.22 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004706/0.4626, allocations: 1.505 MB / 1.145 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4626, allocations: 11.97 kB / 1.145 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.4652, allocations: 474.8 kB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.4681, allocations: 1.132 MB / 1.146 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.4685, allocations: 129.9 kB / 1.146 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4686, allocations: 80 kB / 1.146 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.4708, allocations: 1.04 MB / 1.147 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4708, allocations: 0 / 1.147 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.4709, allocations: 32 kB / 1.147 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.4709, allocations: 27.92 kB / 1.147 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.4735, allocations: 0.9563 MB / 1.148 GB, free: 8.688 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.007338/0.4809, allocations: 4.926 MB / 1.153 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.4846, allocations: 0.9113 MB / 1.154 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008618/0.4855, allocations: 344.6 kB / 1.154 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/0.4862, allocations: 0.9025 MB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4863, allocations: 46.5 kB / 1.155 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.484e-06/0.4863, allocations: 0 / 1.155 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.009652/0.496, allocations: 2.211 MB / 1.157 GB, free: 14.74 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.496, allocations: 55.41 kB / 1.157 GB, free: 14.67 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.4979, allocations: 1.067 MB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.4981, allocations: 37.7 kB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.4986, allocations: 0.5235 MB / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.4987, allocations: 153.8 kB / 1.159 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.4988, allocations: 53.7 kB / 1.159 GB, free: 12.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.499, allocations: 326 kB / 1.16 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.5, allocations: 340.9 kB / 1.16 GB, free: 12.15 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.5012, allocations: 0.5568 MB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.5031, allocations: 0.7688 MB / 1.161 GB, free: 10.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.5032, allocations: 4 kB / 1.161 GB, free: 10.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00311/0.5063, allocations: 1.09 MB / 1.162 GB, free: 9.574 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.5065, allocations: 223.1 kB / 1.162 GB, free: 9.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5065, allocations: 4 kB / 1.162 GB, free: 9.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.5079, allocations: 332.5 kB / 1.163 GB, free: 8.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.5085, allocations: 135.8 kB / 1.163 GB, free: 8.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.5101, allocations: 0.9425 MB / 1.164 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5117, allocations: 199.2 kB / 1.164 GB, free: 7.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.5118, allocations: 31.98 kB / 1.164 GB, free: 7.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5119, allocations: 4 kB / 1.164 GB, free: 7.633 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002802/0.5147, allocations: 0.9529 MB / 1.165 GB, free: 6.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5147, allocations: 11.97 kB / 1.165 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.516, allocations: 331 kB / 1.165 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.5166, allocations: 135.8 kB / 1.165 GB, free: 6.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.5182, allocations: 0.9348 MB / 1.166 GB, free: 5.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5197, allocations: 179.3 kB / 1.167 GB, free: 5.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.5198, allocations: 27.98 kB / 1.167 GB, free: 5.043 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0006807/0.5204, allocations: 362.4 kB / 1.167 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/0.5208, allocations: 106.7 kB / 1.167 GB, free: 4.574 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/0.5251, allocations: 1.244 MB / 1.168 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.5251, allocations: 4 kB / 1.168 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5251, allocations: 4 kB / 1.168 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5251, allocations: 7.922 kB / 1.168 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/0.531, allocations: 2.343 MB / 1.171 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.5311, allocations: 0 / 1.171 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.5314, allocations: 80.16 kB / 1.171 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.5326, allocations: 324.6 kB / 1.171 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.5326, allocations: 15.98 kB / 1.171 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.5343, allocations: 0.9717 MB / 1.172 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5343, allocations: 4.031 kB / 1.172 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.5385, allocations: 1.325 MB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.5392, allocations: 279.5 kB / 1.173 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.5395, allocations: 11.98 kB / 1.173 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5406, allocations: 123.7 kB / 1.174 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5407, allocations: 43.83 kB / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.5408, allocations: 23.98 kB / 1.174 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001344/0.5421, allocations: 0.7471 MB / 1.174 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.5421, allocations: 4 kB / 1.174 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001893/0.544, allocations: 0.5613 MB / 1.175 GB, free: 12.28 MB / 0.9356 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00094/0.545, allocations: 378.4 kB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003622/0.5486, allocations: 1.231 MB / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5486, allocations: 0 / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5497, allocations: 395 kB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.5526, allocations: 0.5035 MB / 1.177 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.5584, allocations: 2.569 MB / 1.18 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.5591, allocations: 1.065 MB / 1.181 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009928/0.5601, allocations: 216.2 kB / 1.181 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5604, allocations: 79.42 kB / 1.181 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.5604, allocations: 3.938 kB / 1.181 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of Templates: time 0.04199/0.6024, allocations: 24.13 MB / 1.205 GB, free: 13.94 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches