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.001014/0.001014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001282/0.001282, allocations: 168.7 kB / 15.95 MB, free: 204 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 8.781 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05336/0.3433, allocations: 56.58 MB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.358, allocations: 11.24 MB / 1.124 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.3595, allocations: 51.62 kB / 1.124 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.3609, allocations: 476.8 kB / 1.125 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.3648, allocations: 1.526 MB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.3672, allocations: 0.869 MB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00384/0.3711, allocations: 3.401 MB / 1.13 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.3723, allocations: 0.8105 MB / 1.131 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.3742, allocations: 1.038 MB / 1.132 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3753, allocations: 0.8088 MB / 1.133 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3754, allocations: 40 kB / 1.133 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.3776, allocations: 1.095 MB / 1.134 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3779, allocations: 203 kB / 1.134 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.3782, allocations: 289 kB / 1.135 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.38, allocations: 1.633 MB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.38, allocations: 0 / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/0.38, allocations: 0 / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.38, allocations: 0 / 1.136 GB, free: 5.051 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002582/0.3826, allocations: 1.529 MB / 1.138 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3827, allocations: 12.03 kB / 1.138 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.3847, allocations: 469.9 kB / 1.138 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.3867, allocations: 1.094 MB / 1.139 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.387, allocations: 133.9 kB / 1.139 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3872, allocations: 80 kB / 1.139 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.3892, allocations: 1.021 MB / 1.14 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3892, allocations: 0 / 1.14 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.3893, allocations: 36 kB / 1.14 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3893, allocations: 20 kB / 1.14 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.3917, allocations: 0.9524 MB / 1.141 GB, free: 15.56 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.006096/0.3978, allocations: 4.926 MB / 1.146 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.4011, allocations: 0.9069 MB / 1.147 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007773/0.4019, allocations: 336.6 kB / 1.147 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.4026, allocations: 0.9063 MB / 1.148 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4026, allocations: 42.55 kB / 1.148 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/0.4026, allocations: 0 / 1.148 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.008328/0.411, allocations: 2.211 MB / 1.15 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.411, allocations: 55.41 kB / 1.151 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.4126, allocations: 1.052 MB / 1.152 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.4126, allocations: 41.64 kB / 1.152 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.4131, allocations: 0.5275 MB / 1.152 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4132, allocations: 157.8 kB / 1.152 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.4132, allocations: 8 kB / 1.152 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4134, allocations: 329.9 kB / 1.153 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/0.4143, allocations: 344.9 kB / 1.153 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4154, allocations: 0.549 MB / 1.153 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.4163, allocations: 371.5 kB / 1.154 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4164, allocations: 0 / 1.154 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002734/0.4191, allocations: 1.078 MB / 1.155 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.4193, allocations: 213.2 kB / 1.155 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.4193, allocations: 11.89 kB / 1.155 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.4205, allocations: 335.3 kB / 1.155 GB, free: 396 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.4212, allocations: 139.8 kB / 1.156 GB, free: 256 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.4226, allocations: 0.9386 MB / 1.156 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4239, allocations: 199.3 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.424, allocations: 35.98 kB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.424, allocations: 4 kB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002507/0.4265, allocations: 0.9567 MB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4265, allocations: 11.95 kB / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4276, allocations: 325 kB / 1.158 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.4282, allocations: 135.8 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.4295, allocations: 0.941 MB / 1.159 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.4307, allocations: 171.4 kB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.4307, allocations: 35.98 kB / 1.159 GB, free: 12.46 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 (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.0005405/0.4313, allocations: 360.9 kB / 1.16 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.4314, allocations: 110.7 kB / 1.16 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.4352, allocations: 1.232 MB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.4352, allocations: 8 kB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4352, allocations: 0 / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4353, allocations: 3.984 kB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/0.4403, allocations: 2.328 MB / 1.163 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.4403, allocations: 4 kB / 1.163 GB, free: 8.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.4406, allocations: 71.89 kB / 1.163 GB, free: 8.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.4416, allocations: 330.8 kB / 1.164 GB, free: 7.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.4417, allocations: 19.98 kB / 1.164 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.4431, allocations: 0.9581 MB / 1.164 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4431, allocations: 7.969 kB / 1.164 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.4467, allocations: 1.322 MB / 1.166 GB, free: 5.535 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.4472, allocations: 279.5 kB / 1.166 GB, free: 5.242 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4473, allocations: 8 kB / 1.166 GB, free: 5.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.4482, allocations: 127.7 kB / 1.166 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.4483, allocations: 35.95 kB / 1.166 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.4484, allocations: 27.92 kB / 1.166 GB, free: 5.047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001151/0.4495, allocations: 0.7432 MB / 1.167 GB, free: 4.297 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4496, allocations: 3.938 kB / 1.167 GB, free: 4.293 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001461/0.451, allocations: 0.5652 MB / 1.167 GB, free: 3.727 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 (34): * Single equations (assignments): 29 * 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006917/0.4517, allocations: 376.1 kB / 1.168 GB, free: 3.363 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003172/0.4549, allocations: 1.219 MB / 1.169 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4549, allocations: 0 / 1.169 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000939/0.4559, allocations: 391.1 kB / 1.169 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.4581, allocations: 0.5094 MB / 1.17 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.4632, allocations: 2.493 MB / 1.172 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.4638, allocations: 1.069 MB / 1.173 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008948/0.4647, allocations: 215.3 kB / 1.174 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.4649, allocations: 79.42 kB / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.4649, allocations: 0 / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.03811/0.503, allocations: 23.22 MB / 1.196 GB, free: 6.379 MB / 0.9512 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