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.0009861/0.0009855, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001035/0.001035, allocations: 177.3 kB / 15.94 MB, free: 228 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.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5905, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.0516/0.6421, allocations: 51.39 MB / 1.071 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.6559, allocations: 10.34 MB / 1.081 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.6576, allocations: 47.62 kB / 1.081 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.6595, allocations: 0.6297 MB / 1.082 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.6651, allocations: 1.954 MB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.6688, allocations: 1.316 MB / 1.085 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.6722, allocations: 1.863 MB / 1.087 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.6735, allocations: 0.8186 MB / 1.088 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.6756, allocations: 0.9886 MB / 1.089 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009766/0.6766, allocations: 0.6066 MB / 1.089 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.6767, allocations: 44 kB / 1.089 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.6788, allocations: 0.9829 MB / 1.09 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.6791, allocations: 199.1 kB / 1.09 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.6794, allocations: 289 kB / 1.091 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.6812, allocations: 1.588 MB / 1.092 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6812, allocations: 7.938 kB / 1.092 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6812, allocations: 0 / 1.092 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.6813, allocations: 0 / 1.092 GB, free: 7.855 MB / 0.8419 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.00268/0.684, allocations: 1.501 MB / 1.094 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.684, allocations: 11.98 kB / 1.094 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.6863, allocations: 477.9 kB / 1.094 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.6883, allocations: 1.051 MB / 1.095 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.6887, allocations: 129.9 kB / 1.095 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6888, allocations: 80 kB / 1.095 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.6909, allocations: 1.025 MB / 1.096 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.691, allocations: 3.938 kB / 1.096 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.6911, allocations: 32 kB / 1.096 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.6911, allocations: 20 kB / 1.096 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.6935, allocations: 0.9524 MB / 1.097 GB, free: 2.43 MB / 0.8419 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.006902/0.7004, allocations: 4.949 MB / 1.102 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.7041, allocations: 0.9142 MB / 1.103 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.7048, allocations: 0.8986 MB / 1.104 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.7048, allocations: 42.56 kB / 1.104 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.7049, allocations: 0 / 1.104 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009231/0.7141, allocations: 2.193 MB / 1.106 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.7142, allocations: 63.34 kB / 1.106 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.7158, allocations: 1.067 MB / 1.107 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.7159, allocations: 37.7 kB / 1.107 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.7163, allocations: 0.5351 MB / 1.108 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.7164, allocations: 157.8 kB / 1.108 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.7165, allocations: 8 kB / 1.108 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7166, allocations: 329.9 kB / 1.108 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009796/0.7176, allocations: 340.9 kB / 1.109 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.7187, allocations: 0.5529 MB / 1.109 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7197, allocations: 371.8 kB / 1.109 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7197, allocations: 4 kB / 1.109 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00291/0.7226, allocations: 1.082 MB / 1.11 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005343/0.7232, allocations: 1.664 MB / 1.112 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7232, allocations: 7.953 kB / 1.112 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.7245, allocations: 336.6 kB / 1.112 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.7251, allocations: 147.8 kB / 1.113 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.7266, allocations: 0.9369 MB / 1.113 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.728, allocations: 203.2 kB / 1.114 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.7281, allocations: 27.98 kB / 1.114 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.7281, allocations: 4 kB / 1.114 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002621/0.7307, allocations: 0.9566 MB / 1.115 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7307, allocations: 7.953 kB / 1.115 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.7319, allocations: 321.1 kB / 1.115 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.7324, allocations: 139.8 kB / 1.115 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.7338, allocations: 0.9334 MB / 1.116 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.7351, allocations: 185.5 kB / 1.116 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.7351, allocations: 31.98 kB / 1.116 GB, free: 14.11 MB / 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 (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.0004937/0.7356, allocations: 345 kB / 1.117 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.7358, allocations: 114.6 kB / 1.117 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.7398, allocations: 1.244 MB / 1.118 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.7398, allocations: 11.94 kB / 1.118 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.7398, allocations: 0 / 1.118 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.7399, allocations: 3.984 kB / 1.118 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005512/0.7454, allocations: 2.346 MB / 1.12 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.7454, allocations: 4 kB / 1.12 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.7458, allocations: 79.81 kB / 1.12 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.7468, allocations: 326.7 kB / 1.121 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.7469, allocations: 15.98 kB / 1.121 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.7484, allocations: 0.966 MB / 1.122 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7484, allocations: 3.938 kB / 1.122 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.7524, allocations: 1.429 MB / 1.123 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/0.753, allocations: 287.4 kB / 1.123 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.7532, allocations: 16 kB / 1.123 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7542, allocations: 119.8 kB / 1.123 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.7543, allocations: 43.89 kB / 1.123 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.7544, allocations: 23.98 kB / 1.123 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00131/0.7557, allocations: 0.751 MB / 1.124 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7557, allocations: 3.938 kB / 1.124 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00171/0.7575, allocations: 0.5691 MB / 1.125 GB, free: 5.18 MB / 0.8731 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.0008985/0.7584, allocations: 383.6 kB / 1.125 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003545/0.7619, allocations: 1.226 MB / 1.126 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7619, allocations: 0 / 1.126 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.763, allocations: 396.5 kB / 1.127 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.7654, allocations: 0.4922 MB / 1.127 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/0.7714, allocations: 2.509 MB / 1.13 GB, free: 148 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/0.7722, allocations: 1.089 MB / 1.131 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001094/0.7733, allocations: 223.7 kB / 1.131 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.7736, allocations: 75.42 kB / 1.131 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of SimCode: time 7.61e-07/0.7736, allocations: 7.938 kB / 1.131 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.03711/0.8107, allocations: 23.5 MB / 1.154 GB, free: 7.504 MB / 0.9044 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches