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/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_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/Buildings 10.0.0-master/package.mo): time 2.334/2.334, allocations: 393.5 MB / 408.4 MB, free: 10.92 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.001352/0.001352, allocations: 191.8 kB / 0.4902 GB, free: 2.215 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.669/1.669, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009756/0.0009755, allocations: 110.7 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 11.56 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3127, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.503, allocations: 435.6 MB / 1.655 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/1.504, allocations: 92.45 kB / 1.655 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.64/5.144, allocations: 1.071 GB / 2.726 GB, free: 35.14 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.282e-06/5.144, allocations: 0 / 2.726 GB, free: 35.14 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002273/5.144, allocations: 35.98 kB / 2.726 GB, free: 35.11 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.005271/5.15, allocations: 1.722 MB / 2.728 GB, free: 33.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/5.15, allocations: 8.031 kB / 2.728 GB, free: 33.31 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/5.152, allocations: 354.1 kB / 2.728 GB, free: 32.96 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/5.155, allocations: 1.274 MB / 2.729 GB, free: 31.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/5.156, allocations: 126.1 kB / 2.729 GB, free: 31.51 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/5.156, allocations: 80.52 kB / 2.729 GB, free: 31.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/5.158, allocations: 0.9669 MB / 2.73 GB, free: 30.42 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/5.158, allocations: 0 / 2.73 GB, free: 30.42 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/5.158, allocations: 35.94 kB / 2.73 GB, free: 30.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/5.158, allocations: 33.98 kB / 2.73 GB, free: 30.35 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/5.16, allocations: 0.8353 MB / 2.731 GB, free: 29.52 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.006745/5.167, allocations: 4.622 MB / 2.736 GB, free: 24.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/5.168, allocations: 0.5783 MB / 2.736 GB, free: 23.98 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/5.17, allocations: 1.365 MB / 2.738 GB, free: 22.32 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/5.17, allocations: 42.55 kB / 2.738 GB, free: 22.27 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/5.17, allocations: 0 / 2.738 GB, free: 22.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.007863/5.177, allocations: 1.911 MB / 2.739 GB, free: 20.33 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/5.178, allocations: 59.34 kB / 2.74 GB, free: 20.26 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/5.179, allocations: 0.9445 MB / 2.74 GB, free: 19.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/5.18, allocations: 37.7 kB / 2.74 GB, free: 19.26 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/5.18, allocations: 0.5317 MB / 2.741 GB, free: 18.73 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/5.18, allocations: 153.8 kB / 2.741 GB, free: 18.57 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/5.18, allocations: 16 kB / 2.741 GB, free: 18.56 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/5.18, allocations: 322 kB / 2.741 GB, free: 18.24 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/5.181, allocations: 269 kB / 2.742 GB, free: 17.98 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/5.182, allocations: 0.4965 MB / 2.742 GB, free: 17.38 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/5.182, allocations: 323.4 kB / 2.743 GB, free: 17.06 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/5.182, allocations: 3.953 kB / 2.743 GB, free: 17.06 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00375/5.186, allocations: 1.148 MB / 2.744 GB, free: 15.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003358/5.187, allocations: 1.58 MB / 2.745 GB, free: 14.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/5.187, allocations: 4 kB / 2.745 GB, free: 14.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/5.188, allocations: 354.5 kB / 2.746 GB, free: 13.85 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/5.188, allocations: 107.8 kB / 2.746 GB, free: 13.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/5.19, allocations: 0.9775 MB / 2.747 GB, free: 12.74 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/5.191, allocations: 183.2 kB / 2.747 GB, free: 12.56 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/5.192, allocations: 35.97 kB / 2.747 GB, free: 12.53 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/5.192, allocations: 9.406 kB / 2.747 GB, free: 12.52 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003301/5.195, allocations: 1.023 MB / 2.748 GB, free: 11.49 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/5.195, allocations: 4 kB / 2.748 GB, free: 11.49 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/5.196, allocations: 349 kB / 2.748 GB, free: 11.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/5.196, allocations: 103.9 kB / 2.748 GB, free: 11.04 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/5.198, allocations: 0.9667 MB / 2.749 GB, free: 10.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/5.199, allocations: 159.3 kB / 2.749 GB, free: 9.895 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/5.199, allocations: 31.98 kB / 2.749 GB, free: 9.863 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.0007213/5.2, allocations: 353.6 kB / 2.75 GB, free: 9.508 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/5.2, allocations: 110.7 kB / 2.75 GB, free: 9.398 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/5.204, allocations: 1.132 MB / 2.751 GB, free: 8.246 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/5.204, allocations: 4 kB / 2.751 GB, free: 8.242 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/5.204, allocations: 4 kB / 2.751 GB, free: 8.238 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/5.204, allocations: 7.938 kB / 2.751 GB, free: 8.23 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/5.209, allocations: 2.125 MB / 2.753 GB, free: 6.027 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/5.209, allocations: 0 / 2.753 GB, free: 6.027 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/5.21, allocations: 51.91 kB / 2.753 GB, free: 5.977 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/5.211, allocations: 362.3 kB / 2.753 GB, free: 5.621 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/5.211, allocations: 16 kB / 2.753 GB, free: 5.605 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/5.212, allocations: 0.9988 MB / 2.754 GB, free: 4.582 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/5.212, allocations: 7.969 kB / 2.754 GB, free: 4.574 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/5.216, allocations: 1.274 MB / 2.756 GB, free: 3.211 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/5.216, allocations: 275.5 kB / 2.756 GB, free: 2.922 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/5.217, allocations: 11.95 kB / 2.756 GB, free: 2.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/5.218, allocations: 107.8 kB / 2.756 GB, free: 2.805 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/5.218, allocations: 31.95 kB / 2.756 GB, free: 2.773 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/5.218, allocations: 23.98 kB / 2.756 GB, free: 2.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001325/5.219, allocations: 0.7469 MB / 2.757 GB, free: 1.996 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.51e-07/5.219, allocations: 0 / 2.757 GB, free: 1.996 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002363/5.221, allocations: 0.6394 MB / 2.757 GB, free: 1.355 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 (31): * Single equations (assignments): 26 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/5.223, allocations: 0.6928 MB / 2.758 GB, free: 0.6797 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6671/5.89, allocations: 1.029 MB / 2.759 GB, free: 245.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/5.89, allocations: 3.25 kB / 2.759 GB, free: 245.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/5.891, allocations: 345.3 kB / 2.759 GB, free: 245.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/5.894, allocations: 0.4927 MB / 2.76 GB, free: 245.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/5.898, allocations: 2.205 MB / 2.762 GB, free: 244.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/5.899, allocations: 1.08 MB / 2.763 GB, free: 244.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001249/5.9, allocations: 212.1 kB / 2.763 GB, free: 244.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/5.9, allocations: 75.78 kB / 2.763 GB, free: 244.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.673e-06/5.9, allocations: 0 / 2.763 GB, free: 244.1 MB / 1.167 GB Notification: Performance of Templates: time 0.0545/5.954, allocations: 26.86 MB / 2.79 GB, free: 243.7 MB / 1.167 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