Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001082/0.001082, allocations: 91.92 kB / 16.02 MB, free: 80 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.001647/0.001647, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003901, allocations: 8 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6965, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06828/0.7649, allocations: 59.83 MB / 1.082 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.7834, allocations: 11.93 MB / 1.094 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.786, allocations: 51.62 kB / 1.094 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.7884, allocations: 0.5516 MB / 1.094 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.7949, allocations: 1.816 MB / 1.096 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.7987, allocations: 1.08 MB / 1.097 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005897/0.8046, allocations: 3.918 MB / 1.101 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.8068, allocations: 0.909 MB / 1.102 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.8101, allocations: 1.131 MB / 1.103 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.8122, allocations: 0.8631 MB / 1.104 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004205/0.8127, allocations: 44 kB / 1.104 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.8162, allocations: 1.329 MB / 1.105 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005034/0.8168, allocations: 210.9 kB / 1.105 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.8183, allocations: 0.6427 MB / 1.106 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.8213, allocations: 1.691 MB / 1.108 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8213, allocations: 0 / 1.108 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8213, allocations: 0 / 1.108 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.156e-05/0.8214, allocations: 4 kB / 1.108 GB, free: 9.531 MB / 0.8575 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.003604/0.825, allocations: 1.509 MB / 1.109 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8251, allocations: 15.97 kB / 1.109 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.8276, allocations: 470.9 kB / 1.11 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.8303, allocations: 1.136 MB / 1.111 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.8307, allocations: 125.9 kB / 1.111 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.831, allocations: 84 kB / 1.111 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.8335, allocations: 1.029 MB / 1.112 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.8336, allocations: 3.938 kB / 1.112 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.8337, allocations: 32 kB / 1.112 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.8337, allocations: 20 kB / 1.112 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.8365, allocations: 0.9563 MB / 1.113 GB, free: 4.008 MB / 0.8575 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.00773/0.8443, allocations: 4.91 MB / 1.118 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.8479, allocations: 0.9137 MB / 1.119 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/0.8489, allocations: 340.7 kB / 1.119 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.8496, allocations: 0.9064 MB / 1.12 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.8496, allocations: 46.45 kB / 1.12 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 3.506e-06/0.8497, allocations: 0 / 1.12 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.009641/0.8593, allocations: 2.219 MB / 1.122 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.8594, allocations: 59.41 kB / 1.122 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.8615, allocations: 1.063 MB / 1.123 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.8616, allocations: 41.69 kB / 1.123 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.8621, allocations: 0.5313 MB / 1.124 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.8623, allocations: 145.8 kB / 1.124 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.8624, allocations: 53.62 kB / 1.124 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8626, allocations: 334 kB / 1.124 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.8636, allocations: 340.9 kB / 1.125 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.8648, allocations: 0.5568 MB / 1.125 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.8668, allocations: 0.7688 MB / 1.126 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.8668, allocations: 4 kB / 1.126 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003151/0.87, allocations: 1.09 MB / 1.127 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.8702, allocations: 217.5 kB / 1.127 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.8702, allocations: 4 kB / 1.127 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.8716, allocations: 338.9 kB / 1.127 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.8723, allocations: 139.8 kB / 1.128 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.8739, allocations: 0.9425 MB / 1.128 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.8754, allocations: 196.8 kB / 1.129 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.8756, allocations: 27.98 kB / 1.129 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.8756, allocations: 8 kB / 1.129 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002789/0.8784, allocations: 0.9526 MB / 1.13 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8784, allocations: 7.938 kB / 1.13 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.8796, allocations: 324.1 kB / 1.13 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.8803, allocations: 143.8 kB / 1.13 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.8818, allocations: 0.9347 MB / 1.131 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.8832, allocations: 187.3 kB / 1.131 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.8834, allocations: 27.98 kB / 1.131 GB, free: 364 kB / 0.8731 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.0006534/0.884, allocations: 353 kB / 1.132 GB, free: 0 / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.8843, allocations: 114.7 kB / 1.132 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.8887, allocations: 1.251 MB / 1.133 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.8887, allocations: 12 kB / 1.133 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8888, allocations: 0 / 1.133 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.8888, allocations: 7.922 kB / 1.133 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/0.8949, allocations: 2.327 MB / 1.135 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.895, allocations: 4 kB / 1.135 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.8954, allocations: 80.17 kB / 1.135 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.8965, allocations: 314.8 kB / 1.136 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.8966, allocations: 19.94 kB / 1.136 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.8982, allocations: 0.9776 MB / 1.136 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8982, allocations: 4 kB / 1.136 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.9024, allocations: 1.31 MB / 1.138 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007214/0.9032, allocations: 291.4 kB / 1.138 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.9035, allocations: 12 kB / 1.138 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.9047, allocations: 119.9 kB / 1.138 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.9048, allocations: 35.89 kB / 1.138 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.9049, allocations: 23.98 kB / 1.138 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00152/0.9064, allocations: 0.7471 MB / 1.139 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9064, allocations: 0 / 1.139 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002017/0.9085, allocations: 0.5652 MB / 1.14 GB, free: 7.602 MB / 0.8887 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.000967/0.9094, allocations: 388.1 kB / 1.14 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003774/0.9132, allocations: 1.231 MB / 1.141 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.9133, allocations: 4 kB / 1.141 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.9144, allocations: 402.9 kB / 1.141 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.9178, allocations: 0.4999 MB / 1.142 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/0.9243, allocations: 2.592 MB / 1.144 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/0.9251, allocations: 1.058 MB / 1.146 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.9255, allocations: 87.41 kB / 1.146 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of SimCode: time 7.01e-07/0.9255, allocations: 4 kB / 1.146 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of Templates: time 0.03623/0.9618, allocations: 23.95 MB / 1.169 GB, free: 9.492 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches