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.001205/0.001205, allocations: 99.86 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.001474/0.001474, allocations: 177.3 kB / 15.95 MB, free: 216 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.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 19.94 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5864, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05425/0.6407, allocations: 51.35 MB / 1.071 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.6553, allocations: 10.32 MB / 1.081 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.6571, allocations: 51.62 kB / 1.081 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.6593, allocations: 0.6296 MB / 1.082 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00586/0.6651, allocations: 1.947 MB / 1.084 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.6689, allocations: 1.318 MB / 1.085 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.6723, allocations: 1.843 MB / 1.087 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.6738, allocations: 0.8135 MB / 1.087 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.6761, allocations: 0.9847 MB / 1.088 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.6773, allocations: 0.5949 MB / 1.089 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.6775, allocations: 44 kB / 1.089 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.68, allocations: 1.002 MB / 1.09 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.6803, allocations: 203.1 kB / 1.09 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004845/0.6808, allocations: 281 kB / 1.09 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.6831, allocations: 1.588 MB / 1.092 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.6832, allocations: 0 / 1.092 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6832, allocations: 4 kB / 1.092 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.484e-05/0.6832, allocations: 0 / 1.092 GB, free: 7.965 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003075/0.6863, allocations: 1.481 MB / 1.093 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6863, allocations: 19.98 kB / 1.094 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.6882, allocations: 374 kB / 1.094 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.6904, allocations: 1.047 MB / 1.095 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/0.6908, allocations: 133.8 kB / 1.095 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.691, allocations: 83.94 kB / 1.095 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.693, allocations: 0.9621 MB / 1.096 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.693, allocations: 0 / 1.096 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.6931, allocations: 32 kB / 1.096 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6931, allocations: 24 kB / 1.096 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.6954, allocations: 0.847 MB / 1.097 GB, free: 2.816 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.006835/0.7022, allocations: 4.811 MB / 1.102 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.7039, allocations: 0.6093 MB / 1.102 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.7054, allocations: 1.392 MB / 1.104 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.7055, allocations: 42.56 kB / 1.104 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.7055, allocations: 0 / 1.104 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.008776/0.7142, allocations: 2.033 MB / 1.106 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.7143, allocations: 55.41 kB / 1.106 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.7161, allocations: 1.063 MB / 1.107 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.7162, allocations: 37.7 kB / 1.107 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.7167, allocations: 0.5273 MB / 1.107 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.7168, allocations: 149.8 kB / 1.107 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.7169, allocations: 8 kB / 1.107 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.717, allocations: 326 kB / 1.108 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008267/0.7178, allocations: 284.9 kB / 1.108 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009653/0.7188, allocations: 498.1 kB / 1.108 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.7197, allocations: 319.8 kB / 1.109 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7197, allocations: 3.953 kB / 1.109 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003638/0.7234, allocations: 1.152 MB / 1.11 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005924/0.724, allocations: 1.584 MB / 1.111 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.724, allocations: 4 kB / 1.111 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.7253, allocations: 324.7 kB / 1.112 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.7258, allocations: 123.8 kB / 1.112 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.7275, allocations: 0.9411 MB / 1.113 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.729, allocations: 187.2 kB / 1.113 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.7291, allocations: 31.98 kB / 1.113 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7291, allocations: 0 / 1.113 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003258/0.7324, allocations: 1.007 MB / 1.114 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.7325, allocations: 4 kB / 1.114 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.7337, allocations: 325.1 kB / 1.114 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.7342, allocations: 103.9 kB / 1.114 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.7357, allocations: 0.9399 MB / 1.115 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.737, allocations: 155.3 kB / 1.115 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.7371, allocations: 31.94 kB / 1.115 GB, free: 14.79 MB / 0.8731 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 (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.0005801/0.7377, allocations: 357 kB / 1.116 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.738, allocations: 106.7 kB / 1.116 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.7418, allocations: 1.152 MB / 1.117 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.7419, allocations: 11.94 kB / 1.117 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7419, allocations: 0 / 1.117 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.7419, allocations: 11.94 kB / 1.117 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005317/0.7472, allocations: 2.153 MB / 1.119 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.7473, allocations: 4 kB / 1.119 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.7475, allocations: 60.19 kB / 1.119 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.7486, allocations: 332.4 kB / 1.12 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.7487, allocations: 15.98 kB / 1.12 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.7503, allocations: 0.9824 MB / 1.121 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7503, allocations: 0 / 1.121 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.754, allocations: 1.294 MB / 1.122 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.7546, allocations: 283.4 kB / 1.122 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.7549, allocations: 15.98 kB / 1.122 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/0.7559, allocations: 103.8 kB / 1.122 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.756, allocations: 43.84 kB / 1.122 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.756, allocations: 23.98 kB / 1.122 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001358/0.7574, allocations: 0.7467 MB / 1.123 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.7574, allocations: 0 / 1.123 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001832/0.7592, allocations: 0.573 MB / 1.124 GB, free: 6.297 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 (33): * Single equations (assignments): 28 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008614/0.7601, allocations: 403.1 kB / 1.124 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.763, allocations: 1.042 MB / 1.125 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7631, allocations: 4 kB / 1.125 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008183/0.7639, allocations: 329.2 kB / 1.125 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.7664, allocations: 0.492 MB / 1.126 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.7704, allocations: 2.198 MB / 1.128 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.7712, allocations: 1.089 MB / 1.129 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009997/0.7722, allocations: 212.2 kB / 1.129 GB, free: 488 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.7724, allocations: 79.42 kB / 1.129 GB, free: 412 kB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.7724, allocations: 7.938 kB / 1.129 GB, free: 404 kB / 0.8731 GB Notification: Performance of Templates: time 0.0403/0.8127, allocations: 23.49 MB / 1.152 GB, free: 9.188 MB / 0.9044 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches