Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 100 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.0009519/0.0009519, 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.291/1.291, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.467/2.467, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 15.92 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5871, 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_etaPL): time 0.04948/0.6366, allocations: 51.35 MB / 1.071 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.651, allocations: 10.32 MB / 1.081 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.6528, allocations: 47.62 kB / 1.081 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.6549, allocations: 0.6335 MB / 1.082 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.6603, allocations: 1.939 MB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.6638, allocations: 1.321 MB / 1.085 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.6673, allocations: 1.851 MB / 1.087 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.6686, allocations: 0.8057 MB / 1.087 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.6706, allocations: 0.9769 MB / 1.088 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.6716, allocations: 0.6066 MB / 1.089 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.6717, allocations: 40 kB / 1.089 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.6739, allocations: 1.002 MB / 1.09 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.6742, allocations: 195.1 kB / 1.09 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.6745, allocations: 285 kB / 1.09 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.6765, allocations: 1.588 MB / 1.092 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6765, allocations: 0 / 1.092 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6765, allocations: 0 / 1.092 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.6765, allocations: 0 / 1.092 GB, free: 7.98 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.00273/0.6792, allocations: 1.481 MB / 1.093 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6793, allocations: 11.98 kB / 1.093 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.6815, allocations: 473.9 kB / 1.094 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.6835, allocations: 1.047 MB / 1.095 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.6839, allocations: 133.9 kB / 1.095 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.6841, allocations: 83.98 kB / 1.095 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.6861, allocations: 1.001 MB / 1.096 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6861, allocations: 3.984 kB / 1.096 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.6862, allocations: 32 kB / 1.096 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.6862, allocations: 20 kB / 1.096 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.6887, allocations: 0.9133 MB / 1.097 GB, free: 2.637 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.00672/0.6954, allocations: 4.934 MB / 1.102 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.6989, allocations: 0.9067 MB / 1.103 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.6996, allocations: 0.9064 MB / 1.104 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.6996, allocations: 38.56 kB / 1.104 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.6996, allocations: 0 / 1.104 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.008991/0.7086, allocations: 2.154 MB / 1.106 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.7087, allocations: 59.39 kB / 1.106 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.7103, allocations: 1.055 MB / 1.107 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.7104, allocations: 37.7 kB / 1.107 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.7108, allocations: 0.5274 MB / 1.107 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.711, allocations: 157.7 kB / 1.108 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.711, allocations: 12 kB / 1.108 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7111, allocations: 325.9 kB / 1.108 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009142/0.7121, allocations: 324.9 kB / 1.108 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7132, allocations: 0.5293 MB / 1.109 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.7141, allocations: 355.8 kB / 1.109 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7141, allocations: 0 / 1.109 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002765/0.7169, allocations: 1.047 MB / 1.11 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005545/0.7175, allocations: 1.58 MB / 1.112 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7175, allocations: 4 kB / 1.112 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.7188, allocations: 332.6 kB / 1.112 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.7194, allocations: 131.8 kB / 1.112 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.7209, allocations: 0.9371 MB / 1.113 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.7222, allocations: 199.1 kB / 1.113 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.7223, allocations: 27.98 kB / 1.113 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.7223, allocations: 4 kB / 1.113 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002454/0.7248, allocations: 0.9181 MB / 1.114 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7248, allocations: 8.062 kB / 1.114 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.7259, allocations: 320.7 kB / 1.114 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.7265, allocations: 127.8 kB / 1.115 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.7279, allocations: 0.9372 MB / 1.115 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.7291, allocations: 175.3 kB / 1.116 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.7292, allocations: 24 kB / 1.116 GB, free: 14.67 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.0005306/0.7297, allocations: 353 kB / 1.116 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.7299, allocations: 114.5 kB / 1.116 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.7338, allocations: 1.209 MB / 1.117 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.7338, allocations: 4 kB / 1.117 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.7338, allocations: 4 kB / 1.117 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.7339, allocations: 3.984 kB / 1.117 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/0.7394, allocations: 2.307 MB / 1.12 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.7394, allocations: 4 kB / 1.12 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.7398, allocations: 76.17 kB / 1.12 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.7409, allocations: 334.6 kB / 1.12 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.7409, allocations: 11.98 kB / 1.12 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.7425, allocations: 0.9737 MB / 1.121 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7425, allocations: 4 kB / 1.121 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.7464, allocations: 1.401 MB / 1.122 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/0.747, allocations: 291.4 kB / 1.123 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.7472, allocations: 12 kB / 1.123 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/0.7481, allocations: 111.8 kB / 1.123 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.7482, allocations: 43.89 kB / 1.123 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.7483, allocations: 23.98 kB / 1.123 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001188/0.7495, allocations: 0.7428 MB / 1.123 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7495, allocations: 0 / 1.123 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001554/0.751, allocations: 0.5731 MB / 1.124 GB, free: 5.848 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.0007197/0.7518, allocations: 385.3 kB / 1.124 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.7551, allocations: 1.171 MB / 1.126 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7551, allocations: 0 / 1.126 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.7561, allocations: 376.5 kB / 1.126 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.7587, allocations: 499.8 kB / 1.126 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.7642, allocations: 2.481 MB / 1.129 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.7649, allocations: 1.089 MB / 1.13 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009934/0.7659, allocations: 228.1 kB / 1.13 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.7661, allocations: 79.42 kB / 1.13 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of SimCode: time 8.12e-07/0.7661, allocations: 3.938 kB / 1.13 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of Templates: time 0.03755/0.8036, allocations: 23.48 MB / 1.153 GB, free: 8.273 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches