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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 183.9 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 104.8 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.32, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.633, allocations: 435.6 MB / 1.655 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.634, allocations: 92.78 kB / 1.655 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.532/5.166, allocations: 1.071 GB / 2.726 GB, free: 35.34 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.353e-06/5.166, allocations: 0 / 2.726 GB, free: 35.34 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001236/5.166, allocations: 31.98 kB / 2.726 GB, free: 35.31 MB / 1.167 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.003832/5.17, allocations: 1.709 MB / 2.728 GB, free: 33.54 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/5.17, allocations: 16.03 kB / 2.728 GB, free: 33.52 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/5.172, allocations: 438 kB / 2.728 GB, free: 33.09 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/5.175, allocations: 1.317 MB / 2.729 GB, free: 31.72 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/5.175, allocations: 134.1 kB / 2.729 GB, free: 31.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/5.175, allocations: 80.52 kB / 2.729 GB, free: 31.51 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/5.177, allocations: 1.002 MB / 2.73 GB, free: 30.46 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/5.177, allocations: 0 / 2.73 GB, free: 30.46 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/5.177, allocations: 32 kB / 2.73 GB, free: 30.43 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/5.177, allocations: 30 kB / 2.73 GB, free: 30.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/5.179, allocations: 0.9094 MB / 2.731 GB, free: 29.49 MB / 1.167 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.005583/5.185, allocations: 4.734 MB / 2.736 GB, free: 24.43 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/5.188, allocations: 0.8975 MB / 2.737 GB, free: 23.53 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/5.189, allocations: 0.9102 MB / 2.738 GB, free: 22.41 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/5.189, allocations: 42.56 kB / 2.738 GB, free: 22.36 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/5.189, allocations: 0 / 2.738 GB, free: 22.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.008531/5.197, allocations: 2.028 MB / 2.74 GB, free: 20.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/5.197, allocations: 59.41 kB / 2.74 GB, free: 20.23 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/5.199, allocations: 0.9522 MB / 2.741 GB, free: 19.27 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/5.199, allocations: 37.7 kB / 2.741 GB, free: 19.23 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/5.2, allocations: 0.5317 MB / 2.741 GB, free: 18.69 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/5.2, allocations: 149.8 kB / 2.741 GB, free: 18.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/5.2, allocations: 12 kB / 2.741 GB, free: 18.53 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/5.2, allocations: 329.9 kB / 2.742 GB, free: 18.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000822/5.201, allocations: 304.9 kB / 2.742 GB, free: 17.91 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/5.202, allocations: 0.5434 MB / 2.743 GB, free: 17.26 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/5.203, allocations: 353.3 kB / 2.743 GB, free: 16.91 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/5.203, allocations: 4 kB / 2.743 GB, free: 16.91 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004263/5.207, allocations: 1.223 MB / 2.744 GB, free: 15.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005243/5.208, allocations: 1.585 MB / 2.746 GB, free: 13.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/5.208, allocations: 8 kB / 2.746 GB, free: 13.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/5.209, allocations: 353.8 kB / 2.746 GB, free: 13.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/5.21, allocations: 115.9 kB / 2.746 GB, free: 13.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/5.211, allocations: 0.9834 MB / 2.747 GB, free: 12.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/5.213, allocations: 191.3 kB / 2.747 GB, free: 12.31 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/5.213, allocations: 31.98 kB / 2.747 GB, free: 12.28 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/5.213, allocations: 4 kB / 2.747 GB, free: 12.28 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003552/5.217, allocations: 1.105 MB / 2.748 GB, free: 11.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/5.217, allocations: 4.344 kB / 2.748 GB, free: 11.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/5.218, allocations: 353.3 kB / 2.749 GB, free: 10.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/5.218, allocations: 123.8 kB / 2.749 GB, free: 10.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/5.22, allocations: 0.9631 MB / 2.75 GB, free: 9.707 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/5.221, allocations: 175.3 kB / 2.75 GB, free: 9.535 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/5.221, allocations: 31.97 kB / 2.75 GB, free: 9.504 MB / 1.167 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 (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0009042/5.222, allocations: 355.1 kB / 2.75 GB, free: 9.148 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/5.222, allocations: 106.7 kB / 2.75 GB, free: 9.043 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/5.225, allocations: 1.005 MB / 2.751 GB, free: 8.02 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/5.225, allocations: 11.98 kB / 2.751 GB, free: 8.008 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/5.225, allocations: 0 / 2.751 GB, free: 8.008 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/5.225, allocations: 4.047 kB / 2.751 GB, free: 8.004 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/5.23, allocations: 2.231 MB / 2.754 GB, free: 5.691 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/5.23, allocations: 7.984 kB / 2.754 GB, free: 5.684 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/5.23, allocations: 67.89 kB / 2.754 GB, free: 5.617 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/5.231, allocations: 368.6 kB / 2.754 GB, free: 5.254 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/5.231, allocations: 8 kB / 2.754 GB, free: 5.246 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/5.233, allocations: 1.006 MB / 2.755 GB, free: 4.215 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/5.233, allocations: 8 kB / 2.755 GB, free: 4.207 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/5.236, allocations: 1.383 MB / 2.756 GB, free: 2.738 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/5.237, allocations: 283.4 kB / 2.757 GB, free: 2.441 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/5.237, allocations: 12 kB / 2.757 GB, free: 2.43 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/5.238, allocations: 115.8 kB / 2.757 GB, free: 2.316 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/5.238, allocations: 39.84 kB / 2.757 GB, free: 2.277 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/5.238, allocations: 23.98 kB / 2.757 GB, free: 2.254 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001174/5.239, allocations: 0.7508 MB / 2.758 GB, free: 1.496 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/5.239, allocations: 0 / 2.758 GB, free: 1.496 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001937/5.241, allocations: 0.6161 MB / 2.758 GB, free: 0.8789 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 27 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/5.242, allocations: 0.6839 MB / 2.759 GB, free: 220 kB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6402/5.882, allocations: 1.16 MB / 2.76 GB, free: 246.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/5.882, allocations: 0 / 2.76 GB, free: 246.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/5.883, allocations: 390.3 kB / 2.76 GB, free: 246.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/5.886, allocations: 0.4943 MB / 2.761 GB, free: 246.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/5.892, allocations: 2.485 MB / 2.763 GB, free: 245.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/5.892, allocations: 1.083 MB / 2.764 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001092/5.893, allocations: 210.9 kB / 2.765 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/5.894, allocations: 76.17 kB / 2.765 GB, free: 245.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/5.894, allocations: 0 / 2.765 GB, free: 245.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05406/5.948, allocations: 26.76 MB / 2.791 GB, free: 244.7 MB / 1.167 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